93 lines
4.3 KiB
XML
93 lines
4.3 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<resources>
|
||
|
|
||
|
<!--============-->
|
||
|
<!-- Base Theme -->
|
||
|
<!--============-->
|
||
|
<style name="Theme"/>
|
||
|
|
||
|
<!--==============-->
|
||
|
<!-- Light Themes -->
|
||
|
<!--=======-======-->
|
||
|
<style name="Theme.Base" parent="Theme.AppCompat.Light.NoActionBar">
|
||
|
<item name="colorPrimary">@color/colorPrimary</item>
|
||
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||
|
<item name="colorAccent">@color/colorAccent</item>
|
||
|
<item name="android:textColorPrimary">@color/textColorPrimaryLight</item>
|
||
|
<item name="android:textColorSecondary">@color/textColorSecondaryLight</item>
|
||
|
<item name="android:textColorHint">@color/textColorHintLight</item>
|
||
|
<item name="android:textColorPrimaryInverse">@color/textColorPrimaryDark</item>
|
||
|
<item name="android:textColorSecondaryInverse">@color/textColorSecondaryDark</item>
|
||
|
<item name="android:textColorHintInverse">@color/textColorHintDark</item>
|
||
|
<item name="android:colorBackground">@color/backgroundLight</item>
|
||
|
<item name="android:listSelector">@color/colorAccent</item>
|
||
|
<item name="android:divider">@color/dividerLight</item>
|
||
|
|
||
|
<!-- Themes -->
|
||
|
<item name="windowActionModeOverlay">true</item>
|
||
|
<item name="actionModeBackground">?colorPrimaryDark</item>
|
||
|
<item name="actionBarTheme">@style/Theme.ActionBar</item>
|
||
|
<item name="actionBarPopupTheme">@style/ThemeOverlay.AppCompat.Light</item>
|
||
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
|
||
|
|
||
|
<!-- Custom Attributes-->
|
||
|
<item name="selectable_list_drawable">@drawable/list_item_selector_light</item>
|
||
|
<item name="divider_drawable">@drawable/line_divider_light</item>
|
||
|
<item name="status_bar_trans">@color/colorPrimaryDarkTrans</item>
|
||
|
</style>
|
||
|
|
||
|
<style name="Theme.Tachiyomi" parent="Theme.Base">
|
||
|
<!-- Attributes specific for SDK 16 to SDK 20 -->
|
||
|
</style>
|
||
|
|
||
|
<!--=============-->
|
||
|
<!-- Dark Themes -->
|
||
|
<!--=============-->
|
||
|
<style name="Theme.Base.Dark" parent="Theme.AppCompat.NoActionBar">
|
||
|
<item name="colorPrimary">@color/colorPrimary</item>
|
||
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||
|
<item name="colorAccent">@color/colorAccent</item>
|
||
|
<item name="android:textColorPrimary">@color/textColorPrimaryDark</item>
|
||
|
<item name="android:textColorSecondary">@color/textColorSecondaryDark</item>
|
||
|
<item name="android:textColorHint">@color/textColorHintDark</item>
|
||
|
<item name="android:textColorPrimaryInverse">@color/textColorPrimaryLight</item>
|
||
|
<item name="android:textColorSecondaryInverse">@color/textColorSecondaryLight</item>
|
||
|
<item name="android:textColorHintInverse">@color/textColorHintLight</item>
|
||
|
<item name="android:colorBackground">@color/backgroundDark</item>
|
||
|
<item name="android:listSelector">@color/colorAccent</item>
|
||
|
<item name="android:divider">@color/dividerDark</item>
|
||
|
|
||
|
<!-- Themes -->
|
||
|
<item name="windowActionModeOverlay">true</item>
|
||
|
<item name="actionModeBackground">?colorPrimaryDark</item>
|
||
|
<item name="actionBarTheme">@style/ThemeOverlay.AppCompat.Dark.ActionBar</item>
|
||
|
<item name="actionBarPopupTheme">@style/ThemeOverlay.AppCompat</item>
|
||
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
|
||
|
|
||
|
<!-- Custom Attributes-->
|
||
|
<item name="navigation_view_theme">@style/Theme.Widget.NavigationView.Dark</item>
|
||
|
<item name="selectable_list_drawable">@drawable/list_item_selector_dark</item>
|
||
|
<item name="divider_drawable">@drawable/line_divider_dark</item>
|
||
|
<item name="status_bar_trans">@color/colorPrimaryDarkTrans</item>
|
||
|
</style>
|
||
|
|
||
|
<style name="Theme.Tachiyomi.Dark" parent="Theme.Base.Dark">
|
||
|
<!-- Attributes specific for SDK 16 to SDK 20 -->
|
||
|
</style>
|
||
|
|
||
|
<!--==============-->
|
||
|
<!-- Reader Theme -->
|
||
|
<!--==============-->
|
||
|
<style name="Theme.Reader" parent="Theme.Base.Dark">
|
||
|
<item name="colorPrimary">@color/md_blue_grey_900</item>
|
||
|
</style>
|
||
|
|
||
|
<!--===============-->
|
||
|
<!-- Launch Screen -->
|
||
|
<!--===============-->
|
||
|
<style name="Theme.BrandedLaunch">
|
||
|
<item name="android:windowBackground">@drawable/branded_logo</item>
|
||
|
</style>
|
||
|
|
||
|
|
||
|
</resources>
|