2016-03-12 14:22:40 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-03-22 18:51:34 +01:00
|
|
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
2016-03-12 14:22:40 +01:00
|
|
|
|
|
|
|
<!--============-->
|
|
|
|
<!-- Base Theme -->
|
|
|
|
<!--============-->
|
|
|
|
<style name="Theme"/>
|
|
|
|
|
2020-02-01 10:29:26 +01:00
|
|
|
<style name="Theme.Base" parent="Theme.MaterialComponents.DayNight.NoActionBar">
|
2020-03-22 18:51:34 +01:00
|
|
|
<item name="android:forceDarkAllowed" tools:targetApi="29">false</item>
|
2019-10-28 03:05:35 +01:00
|
|
|
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
<item name="colorPrimary">@color/colorPrimary</item>
|
2020-03-22 03:07:04 +01:00
|
|
|
<item name="colorOnPrimary">@color/background</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
2020-01-30 08:57:17 +01:00
|
|
|
<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>
|
2016-04-10 15:48:57 +02:00
|
|
|
<item name="android:listSelector">?colorAccent</item>
|
2020-01-30 08:57:17 +01:00
|
|
|
<item name="android:divider">@color/divider</item>
|
2016-11-05 19:28:47 +01:00
|
|
|
<item name="android:listDivider">@drawable/line_divider_light</item>
|
2020-02-01 10:29:26 +01:00
|
|
|
<item name="actionModeStyle">@style/CustomActionModeStyle</item>
|
2020-03-22 03:07:04 +01:00
|
|
|
<item name="tabBarIconColor">?colorAccent</item>
|
|
|
|
<item name="tabBarIconInactive">@color/colorPrimaryInactive</item>
|
2020-02-01 10:29:26 +01:00
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
|
|
|
|
<!-- Themes -->
|
|
|
|
<item name="windowActionModeOverlay">true</item>
|
2020-03-12 03:33:29 +01:00
|
|
|
<item name="actionBarTheme">@style/ThemeOverlay.AppCompat.DayNight.ActionBar</item>
|
2020-01-21 00:37:42 +01:00
|
|
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
|
2020-01-30 08:57:17 +01:00
|
|
|
<item name="alertDialogTheme">@style/Theme.AlertDialog.DayNight</item>
|
2016-06-16 20:52:51 +02:00
|
|
|
|
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>
|
2020-01-30 08:57:17 +01:00
|
|
|
<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>
|
2020-01-30 08:57:17 +01:00
|
|
|
<item name="text_color_primary">@color/textColorPrimary</item>
|
2019-10-28 07:20:17 +01:00
|
|
|
<item name="background_card">@color/cardBackground</item>
|
2020-01-30 08:57:17 +01:00
|
|
|
<item name="icon_color">@color/iconColor</item>
|
2019-12-17 05:14:33 +01:00
|
|
|
<item name="snackbar_background">@color/snackbarBackground</item>
|
2020-01-30 08:57:17 +01:00
|
|
|
<item name="snackbar_text">@color/textColorPrimaryInverse</item>
|
2020-03-12 03:33:29 +01:00
|
|
|
<item name="actionBarTintColor">@color/textColorPrimary</item>
|
2020-02-05 09:32:50 +01:00
|
|
|
<item name="badgeColor">@color/badgeColor</item>
|
2019-10-28 03:05:35 +01:00
|
|
|
|
2020-03-22 03:07:04 +01:00
|
|
|
<item name="android:statusBarColor">@color/mainStatus</item>
|
2019-11-03 07:07:07 +01:00
|
|
|
<item name="android:navigationBarColor">#B3000000</item>
|
2020-02-07 06:04:43 +01:00
|
|
|
<item name="android:colorEdgeEffect">@color/colorAccent</item>
|
2020-01-12 01:23:30 +01:00
|
|
|
|
|
|
|
<!-- Material Dialog colors -->
|
2020-01-30 08:57:17 +01:00
|
|
|
<item name="md_color_title">@color/textColorPrimary</item>
|
|
|
|
<item name="md_color_content">@color/textColorSecondary</item>
|
2020-01-12 01:23:30 +01:00
|
|
|
<item name="md_color_button_text">@color/colorAccent</item>
|
2020-01-30 08:57:17 +01:00
|
|
|
<item name="md_background_color">@color/dialog</item>
|
2020-03-22 03:07:04 +01:00
|
|
|
<item name="md_button_casing">literal</item>
|
2020-01-12 01:23:30 +01:00
|
|
|
<item name="md_corner_radius">16dp</item>
|
2020-03-22 03:07:04 +01:00
|
|
|
<item name="android:windowLightStatusBar">true</item>
|
2020-03-22 18:51:34 +01:00
|
|
|
<item name="android:windowLightNavigationBar" tools:targetApi="27">true</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-03-22 03:07:04 +01:00
|
|
|
<style name="Theme.Tachiyomi.AllBlue" parent="Theme.Tachiyomi">
|
|
|
|
<item name="colorPrimary">@color/bluePrimary</item>
|
|
|
|
<item name="colorPrimaryDark">@color/bluePrimary</item>
|
|
|
|
<item name="colorOnPrimary">@color/bluePrimary</item>
|
|
|
|
<item name="tabBarIconColor">@color/md_white_1000</item>
|
|
|
|
<item name="tabBarIconInactive">@color/md_white_1000_50</item>
|
|
|
|
<item name="android:statusBarColor">@color/blueStatus</item>
|
|
|
|
<item name="actionBarTintColor">@color/md_white_1000</item>
|
|
|
|
<item name="actionBarTheme">@style/Theme.ActionBar.Dark.DayNight</item>
|
|
|
|
<item name="android:windowLightStatusBar">false</item>
|
2020-03-22 18:51:34 +01:00
|
|
|
<item name="android:windowLightNavigationBar" tools:targetApi="27">false</item>
|
2020-02-01 10:29:26 +01:00
|
|
|
</style>
|
2019-10-27 05:42:49 +01:00
|
|
|
<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">
|
2020-03-22 18:51:34 +01:00
|
|
|
<item name="android:forceDarkAllowed" tools:targetApi="29">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>
|
2020-03-12 03:33:29 +01:00
|
|
|
<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>
|
2020-03-22 08:15:40 +01:00
|
|
|
<item name="android:windowLightStatusBar">false</item>
|
2020-03-22 18:51:34 +01:00
|
|
|
<item name="android:windowLightNavigationBar" tools:targetApi="27">false</item>
|
2019-10-28 03:05:35 +01:00
|
|
|
</style>
|
|
|
|
|
2020-02-09 11:35:00 +01:00
|
|
|
<style name="Theme.Base.Reader.Dark" parent="Theme.MaterialComponents.NoActionBar">
|
2020-03-22 18:51:34 +01:00
|
|
|
<item name="android:forceDarkAllowed" tools:targetApi="29">false</item>
|
2020-02-11 07:25:53 +01:00
|
|
|
<item name="colorPrimary">@color/darkPrimaryTranslucent</item>
|
|
|
|
<item name="colorPrimaryDark">@color/darkPrimaryTranslucent</item>
|
2018-09-01 17:12:59 +02:00
|
|
|
<item name="android:colorBackground">@android:color/black</item>
|
2020-01-30 08:57:17 +01:00
|
|
|
<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>
|
2020-01-30 08:57:17 +01:00
|
|
|
<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>
|
|
|
|
|
2020-01-08 00:46:31 +01:00
|
|
|
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
|
2020-01-10 17:21:56 +01:00
|
|
|
<item name="android:statusBarColor">?colorPrimaryDark</item>
|
2020-01-30 08:57:17 +01:00
|
|
|
<item name="android:navigationBarColor">@color/darkPrimaryColor</item>
|
2020-01-08 00:46:31 +01:00
|
|
|
|
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>
|
2020-01-21 00:37:42 +01:00
|
|
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
|
2020-01-30 08:57:17 +01:00
|
|
|
<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>
|
2020-01-30 08:57:17 +01:00
|
|
|
<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>
|
|
|
|
|
2020-02-09 11:35:00 +01:00
|
|
|
<style name="Theme.Base.Reader.Light" parent="Theme.MaterialComponents.Light.NoActionBar">
|
2020-03-22 18:51:34 +01:00
|
|
|
<item name="android:forceDarkAllowed" tools:targetApi="29">false</item>
|
2020-02-11 07:25:53 +01:00
|
|
|
<item name="colorPrimary">@color/darkPrimaryTranslucent</item>
|
|
|
|
<item name="colorPrimaryDark">@color/darkPrimaryTranslucent</item>
|
2018-09-01 17:12:59 +02:00
|
|
|
<item name="android:colorBackground">@android:color/white</item>
|
2020-01-30 08:57:17 +01:00
|
|
|
<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>
|
2020-01-30 08:57:17 +01:00
|
|
|
<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>
|
2020-03-22 03:07:04 +01:00
|
|
|
<item name="actionBarTheme">@style/Theme.ActionBar.Dark.DayNight</item>
|
2019-10-29 06:51:46 +01:00
|
|
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
|
2020-01-30 08:57:17 +01:00
|
|
|
<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>
|
2020-01-30 08:57:17 +01:00
|
|
|
<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>
|
2020-01-30 08:57:17 +01:00
|
|
|
<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>
|
2018-09-01 17:12:59 +02:00
|
|
|
</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>
|
2020-03-22 18:51:34 +01:00
|
|
|
<item name="android:windowLightStatusBar">false</item>
|
|
|
|
<item name="android:windowLightNavigationBar" tools:targetApi="27">false</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
</style>
|
2018-09-01 17:12:59 +02:00
|
|
|
</resources>
|