tachiyomi/app/src/main/res/values/themes.xml

146 lines
7.8 KiB
XML
Raw Normal View History

2016-03-12 14:22:40 +01:00
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--============-->
<!-- Base Theme -->
<!--============-->
<style name="Theme"/>
2019-10-24 08:43:18 +02:00
<style name="Theme.Base" parent="Theme.AppCompat.DayNight.NoActionBar">
2019-10-28 03:05:35 +01:00
<item name="android:forceDarkAllowed">false</item>
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
2016-03-12 14:22:40 +01:00
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccentLight</item>
2016-03-12 14:22:40 +01:00
<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">?colorAccent</item>
2016-03-12 14:22:40 +01:00
<item name="android:divider">@color/dividerLight</item>
<item name="android:listDivider">@drawable/line_divider_light</item>
2016-03-12 14:22:40 +01:00
<!-- Themes -->
<item name="windowActionModeOverlay">true</item>
2016-05-13 15:45:36 +02:00
<item name="actionBarTheme">@style/Theme.ActionBar.Light</item>
2019-10-29 06:51:46 +01:00
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
<item name="alertDialogTheme">@style/Theme.AlertDialog.Light</item>
2019-10-28 03:05:35 +01:00
<item name="md_background_color">@color/dialogLight</item>
2016-03-12 14:22:40 +01:00
<!-- Custom Attributes-->
2019-10-27 05:42:49 +01:00
<item name="navigation_view_theme">@style/Theme.Widget.NavigationView</item>
2016-03-12 14:22:40 +01:00
<item name="selectable_list_drawable">@drawable/list_item_selector_light</item>
2016-05-13 15:45:36 +02:00
<item name="selectable_library_drawable">@drawable/library_item_selector_light</item>
2016-05-25 00:09:24 +02:00
<item name="text_color_primary">@color/textColorPrimaryLight</item>
<item name="background_card">@color/cardBackground</item>
<item name="icon_color">@color/iconColorLight</item>
2019-12-17 05:14:33 +01:00
<item name="snackbar_background">@color/snackbarBackground</item>
<item name="snackbar_text">@color/textColorPrimaryDark</item>
2019-10-28 03:05:35 +01:00
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:navigationBarColor">#B3000000</item>
2016-03-12 14:22:40 +01:00
</style>
2019-10-27 05:42:49 +01:00
<style name="Theme.Tachiyomi" parent="Theme.Base"/>
<style name="Theme.Tachiyomi.DarkBlue" parent="Theme.Tachiyomi"/>
<style name="Theme.Tachiyomi.Amoled" parent="Theme.Tachiyomi"/>
2016-03-12 14:22:40 +01:00
<!--==============-->
<!-- Reader Theme -->
<!--==============-->
2019-10-28 03:05:35 +01:00
<style name="Theme.Base.Reader" parent="Theme.Base">
<item name="android:forceDarkAllowed">false</item>
<item name="colorPrimary">@color/colorDarkPrimary</item>
<item name="colorPrimaryDark">@color/colorDarkPrimary</item>
<item name="android:colorBackground">@android:color/white</item>
<item name="android:statusBarColor">?colorPrimaryDark</item>
<item name="android:navigationBarColor">?colorPrimaryDark</item>
</style>
<style name="Theme.Base.Reader.Dark" parent="Theme.AppCompat.NoActionBar">
<item name="android:forceDarkAllowed">false</item>
<item name="colorPrimary">@color/colorDarkPrimary</item>
<item name="colorPrimaryDark">@color/colorDarkPrimaryDark</item>
<item name="android:colorBackground">@android:color/black</item>
2019-10-28 03:05:35 +01:00
<item name="colorAccent">@color/colorAccentDark</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:listSelector">?colorAccent</item>
<item name="android:divider">@color/dividerDark</item>
<item name="android:listDivider">@drawable/line_divider_dark</item>
<!-- Themes -->
<item name="windowActionModeOverlay">true</item>
<item name="actionBarTheme">@style/ThemeOverlay.AppCompat.Dark.ActionBar</item>
<item name="actionBarPopupTheme">@style/ThemeOverlay.AppCompat</item>
2019-10-29 06:51:46 +01:00
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
2019-10-28 03:05:35 +01:00
<item name="md_background_color">@color/dialogDark</item>
<item name="alertDialogTheme">@style/Theme.AlertDialog.Dark</item>
<!-- Custom Attributes-->
<item name="navigation_view_theme">@style/Theme.Widget.NavigationView</item>
<item name="selectable_list_drawable">@drawable/list_item_selector_dark</item>
<item name="selectable_library_drawable">@drawable/library_item_selector_dark</item>
<item name="text_color_primary">@color/textColorPrimaryDark</item>
<item name="background_card">@color/dialogDark</item>
<item name="icon_color">@color/iconColorDark</item>
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:statusBarColor">?colorPrimaryDark</item>
<item name="android:navigationBarColor">?colorPrimaryDark</item>
2016-03-12 14:22:40 +01:00
</style>
2019-10-28 03:05:35 +01:00
<style name="Theme.Base.Reader.Light" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:forceDarkAllowed">false</item>
<item name="colorPrimary">@color/colorDarkPrimary</item>
<item name="colorPrimaryDark">@color/colorDarkPrimaryDark</item>
<item name="android:colorBackground">@android:color/white</item>
2019-10-28 03:05:35 +01:00
<item name="colorAccent">@color/colorAccentLight</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:listSelector">?colorAccent</item>
<item name="android:divider">@color/dividerLight</item>
<item name="android:listDivider">@drawable/line_divider_light</item>
<!-- Themes -->
<item name="windowActionModeOverlay">true</item>
<item name="actionBarTheme">@style/Theme.ActionBar.Light</item>
2019-10-29 06:51:46 +01:00
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
2019-10-28 03:05:35 +01:00
<item name="alertDialogTheme">@style/Theme.AlertDialog.Light</item>
<!-- Custom Attributes-->
<item name="navigation_view_theme">@style/Theme.Widget.NavigationView</item>
<item name="selectable_list_drawable">@drawable/list_item_selector_light</item>
<item name="selectable_library_drawable">@drawable/library_item_selector_light</item>
<item name="text_color_primary">@color/textColorPrimaryLight</item>
<item name="background_card">@color/dialogLight</item>
<item name="icon_color">@color/iconColorLight</item>
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:statusBarColor">?colorPrimaryDark</item>
<item name="android:navigationBarColor">?colorPrimaryDark</item>
</style>
2016-03-12 14:22:40 +01:00
<!--===============-->
<!-- Launch Screen -->
<!--===============-->
<style name="Theme.BrandedLaunch">
<item name="android:windowBackground">@drawable/branded_logo</item>
</style>
</resources>