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

175 lines
9.5 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"/>
2020-02-01 10:29:26 +01:00
<style name="Theme.Base" parent="Theme.MaterialComponents.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>
2020-02-02 01:28:45 +01:00
<item name="colorOnPrimary">@color/md_white_1000</item>
2016-03-12 14:22:40 +01:00
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="android:textColorPrimary">@color/textColorPrimary</item>
<item name="android:textColorSecondary">@color/textColorSecondary</item>
<item name="android:textColorHint">@color/textColorHint</item>
<item name="android:textColorPrimaryInverse">@color/textColorPrimaryInverse</item>
<item name="android:textColorSecondaryInverse">@color/textColorSecondaryInverse</item>
<item name="android:textColorHintInverse">@color/textColorHintInverse</item>
<item name="android:colorBackground">@color/background</item>
<item name="android:listSelector">?colorAccent</item>
<item name="android:divider">@color/divider</item>
<item name="android:listDivider">@drawable/line_divider_light</item>
2020-02-01 10:29:26 +01:00
<item name="actionModeStyle">@style/CustomActionModeStyle</item>
<item name="tabBarIconColor">@color/tabBarIconHighlight</item>
<item name="tabBarIconInactive">@color/tabInactive</item>
2020-02-01 10:29:26 +01:00
2016-03-12 14:22:40 +01:00
<!-- Themes -->
<item name="windowActionModeOverlay">true</item>
<item name="actionBarTheme">@style/ThemeOverlay.AppCompat.DayNight.ActionBar</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
<item name="alertDialogTheme">@style/Theme.AlertDialog.DayNight</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>
<item name="selectable_list_drawable">@drawable/list_item_selector</item>
2016-05-13 15:45:36 +02:00
<item name="selectable_library_drawable">@drawable/library_item_selector_light</item>
<item name="text_color_primary">@color/textColorPrimary</item>
<item name="background_card">@color/cardBackground</item>
<item name="icon_color">@color/iconColor</item>
2019-12-17 05:14:33 +01:00
<item name="snackbar_background">@color/snackbarBackground</item>
<item name="snackbar_text">@color/textColorPrimaryInverse</item>
<item name="actionBarTintColor">@color/textColorPrimary</item>
<item name="badgeColor">@color/badgeColor</item>
2019-10-28 03:05:35 +01:00
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:navigationBarColor">#B3000000</item>
<item name="android:colorEdgeEffect">@color/colorAccent</item>
<!-- Material Dialog colors -->
<item name="md_color_title">@color/textColorPrimary</item>
<item name="md_color_content">@color/textColorSecondary</item>
<item name="md_color_button_text">@color/colorAccent</item>
<item name="md_background_color">@color/dialog</item>
<item name="md_corner_radius">16dp</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"/>
2020-02-01 10:29:26 +01:00
<style name="Theme.Tachiyomi.MatWhite" parent="Theme.Tachiyomi">
<item name="colorPrimary">@color/purePrimary</item>
<item name="colorPrimaryDark">@color/purePrimary</item>
2020-02-02 01:28:45 +01:00
<item name="colorOnPrimary">@color/colorPrimary</item>
2020-02-01 10:29:26 +01:00
<item name="tabBarIconColor">@color/colorPrimary</item>
<item name="tabBarIconInactive">@color/colorPrimaryInactive</item>
2020-02-05 10:10:08 +01:00
<item name="android:statusBarColor">@color/md_black_1000_54</item>
<item name="actionBarTintColor">@color/textColorPrimary</item>
<item name="actionBarTheme">@style/ThemeOverlay.AppCompat.DayNight.ActionBar</item>
2020-02-01 10:29:26 +01:00
</style>
2019-10-27 05:42:49 +01:00
<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>
2020-02-11 07:25:53 +01:00
<item name="colorPrimary">@color/darkPrimaryTranslucent</item>
<item name="colorPrimaryDark">@color/darkPrimaryTranslucent</item>
2019-10-28 03:05:35 +01:00
<item name="android:colorBackground">@android:color/white</item>
<item name="actionBarTheme">@style/ThemeOverlay.AppCompat.Dark.ActionBar</item>
<item name="actionBarTintColor">@color/md_white_1000</item>
2019-10-28 03:05:35 +01:00
<item name="android:statusBarColor">?colorPrimaryDark</item>
<item name="android:navigationBarColor">?colorPrimaryDark</item>
</style>
<style name="Theme.Base.Reader.Dark" parent="Theme.MaterialComponents.NoActionBar">
2019-10-28 03:05:35 +01:00
<item name="android:forceDarkAllowed">false</item>
2020-02-11 07:25:53 +01:00
<item name="colorPrimary">@color/darkPrimaryTranslucent</item>
<item name="colorPrimaryDark">@color/darkPrimaryTranslucent</item>
<item name="android:colorBackground">@android:color/black</item>
<item name="colorAccent">#3399FF</item>
<item name="android:textColorPrimary">@color/md_white_1000</item>
<item name="android:textColorSecondary">@color/md_white_1000_70</item>
<item name="android:textColorHint">@color/md_white_1000_50</item>
<item name="android:textColorPrimaryInverse">@color/md_black_1000_87</item>
<item name="android:textColorSecondaryInverse">@color/md_black_1000_54</item>
<item name="android:textColorHintInverse">@color/md_black_1000_38</item>
2019-10-28 03:05:35 +01:00
<item name="android:listSelector">?colorAccent</item>
<item name="android:divider">@android:color/transparent</item>
2019-10-28 03:05:35 +01:00
<item name="android:listDivider">@drawable/line_divider_dark</item>
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:statusBarColor">?colorPrimaryDark</item>
<item name="android:navigationBarColor">@color/darkPrimaryColor</item>
2019-10-28 03:05:35 +01:00
<!-- Themes -->
<item name="windowActionModeOverlay">true</item>
<item name="actionBarTheme">@style/ThemeOverlay.AppCompat.Dark.ActionBar</item>
<item name="actionBarPopupTheme">@style/ThemeOverlay.AppCompat</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
<item name="md_background_color">@android:color/transparent</item>
<item name="alertDialogTheme">@style/Theme.AlertDialog.DayNight</item>
2019-10-28 03:05:35 +01:00
<!-- 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/md_white_1000</item>
<item name="background_card">@android:color/transparent</item>
<item name="icon_color">@color/iconColor</item>
2019-10-28 03:05:35 +01:00
2016-03-12 14:22:40 +01:00
</style>
<style name="Theme.Base.Reader.Light" parent="Theme.MaterialComponents.Light.NoActionBar">
2019-10-28 03:05:35 +01:00
<item name="android:forceDarkAllowed">false</item>
2020-02-11 07:25:53 +01:00
<item name="colorPrimary">@color/darkPrimaryTranslucent</item>
<item name="colorPrimaryDark">@color/darkPrimaryTranslucent</item>
<item name="android:colorBackground">@android:color/white</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="android:textColorPrimary">@color/md_black_1000_87</item>
<item name="android:textColorSecondary">@color/md_black_1000_54</item>
<item name="android:textColorHint">@color/md_white_1000</item>
<item name="android:textColorPrimaryInverse">@color/md_white_1000</item>
<item name="android:textColorSecondaryInverse">@color/md_white_1000_70</item>
<item name="android:textColorHintInverse">@color/md_white_1000_50</item>
2019-10-28 03:05:35 +01:00
<item name="android:listSelector">?colorAccent</item>
<item name="android:divider">@color/md_white_1000_50</item>
2019-10-28 03:05:35 +01:00
<item name="android:listDivider">@drawable/line_divider_light</item>
<!-- Themes -->
<item name="windowActionModeOverlay">true</item>
<item name="actionBarTheme">@style/Theme.ActionBar.DayNight</item>
2019-10-29 06:51:46 +01:00
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
<item name="alertDialogTheme">@style/Theme.AlertDialog.DayNight</item>
2019-10-28 03:05:35 +01:00
<!-- Custom Attributes-->
<item name="navigation_view_theme">@style/Theme.Widget.NavigationView</item>
<item name="selectable_list_drawable">@drawable/list_item_selector</item>
2019-10-28 03:05:35 +01:00
<item name="selectable_library_drawable">@drawable/library_item_selector_light</item>
<item name="text_color_primary">@color/md_black_1000_87</item>
<item name="background_card">@color/md_white_1000_50</item>
<item name="icon_color">@color/md_black_1000_54</item>
2019-10-28 03:05:35 +01:00
<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 -->
<!--===============-->
2020-01-09 04:38:19 +01:00
<style name="Theme.Splash" parent="Theme.Tachiyomi">
<item name="android:windowBackground">@drawable/splash_background</item>
2020-01-15 10:21:58 +01:00
<item name="android:statusBarColor">@color/splashBackground</item>
<item name="android:navigationBarColor">@color/splashBackground</item>
2016-03-12 14:22:40 +01:00
</style>
</resources>