2016-03-12 14:22:40 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<resources>
|
|
|
|
|
|
|
|
<!--============-->
|
|
|
|
<!-- Base Theme -->
|
|
|
|
<!--============-->
|
|
|
|
<style name="Theme"/>
|
|
|
|
|
|
|
|
<!--==============-->
|
|
|
|
<!-- Light Themes -->
|
|
|
|
<!--=======-======-->
|
2020-03-12 00:08:57 +01:00
|
|
|
<style name="Theme.Base" parent="Theme.MaterialComponents.Light.NoActionBar">
|
|
|
|
<!-- AppBar -->
|
|
|
|
<item name="windowActionBar">false</item>
|
|
|
|
<item name="windowNoTitle">true</item>
|
|
|
|
|
|
|
|
<!-- Theme colors -->
|
2016-03-12 14:22:40 +01:00
|
|
|
<item name="colorPrimary">@color/colorPrimary</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="colorOnPrimary">@color/textColorPrimaryDark</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="colorSecondary">@color/colorAccentLight</item>
|
|
|
|
<item name="colorOnSecondary">@color/textColorPrimaryDark</item>
|
|
|
|
<item name="colorSurface">@color/dialogLight</item>
|
|
|
|
<item name="colorOnSurface">@color/textColorPrimaryLight</item>
|
2016-04-10 15:48:57 +02:00
|
|
|
<item name="colorAccent">@color/colorAccentLight</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
|
|
|
|
<!-- Base background/text colors -->
|
|
|
|
<item name="android:colorBackground">@color/backgroundLight</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>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="rippleColor">@color/rippleColorLight</item>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<item name="android:divider">@color/dividerLight</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="android:listDivider">@drawable/line_divider</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
|
2020-02-22 00:41:37 +01:00
|
|
|
<!-- Handles RTL text -->
|
|
|
|
<item name="android:textAlignment">gravity</item>
|
|
|
|
<item name="android:textDirection">locale</item>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<!-- Themes -->
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="android:forceDarkAllowed">false</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
<item name="windowActionModeOverlay">true</item>
|
2016-05-13 15:45:36 +02:00
|
|
|
<item name="actionBarTheme">@style/Theme.ActionBar.Light</item>
|
2020-01-21 00:37:42 +01:00
|
|
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="dialogTheme">@style/Theme.AlertDialog.Light</item>
|
|
|
|
<item name="alertDialogTheme">@style/Theme.AlertDialog.Dark</item>
|
2016-06-16 20:52:51 +02:00
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<!-- Custom Attributes-->
|
2016-05-13 15:45:36 +02:00
|
|
|
<item name="selectable_library_drawable">@drawable/library_item_selector_light</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
</style>
|
|
|
|
|
2020-01-08 00:46:31 +01:00
|
|
|
<!--===========-->
|
|
|
|
<!-- Main Theme-->
|
|
|
|
<!--===========-->
|
2016-03-12 14:22:40 +01:00
|
|
|
<style name="Theme.Tachiyomi" parent="Theme.Base">
|
2020-01-08 00:46:31 +01:00
|
|
|
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
|
2020-01-12 17:47:26 +01:00
|
|
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
2020-01-08 00:46:31 +01:00
|
|
|
<item name="android:navigationBarColor">@color/colorPrimaryDark</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<!--=============-->
|
|
|
|
<!-- Dark Themes -->
|
|
|
|
<!--=============-->
|
2020-03-12 00:08:57 +01:00
|
|
|
<style name="Theme.Base.Dark" parent="Theme.MaterialComponents.NoActionBar">
|
|
|
|
<!-- Theme colors -->
|
2018-03-10 20:17:26 +01:00
|
|
|
<item name="colorPrimary">@color/colorDarkPrimary</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="colorOnPrimary">@color/textColorPrimaryDark</item>
|
2018-03-10 20:17:26 +01:00
|
|
|
<item name="colorPrimaryDark">@color/colorDarkPrimaryDark</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="colorSecondary">@color/colorAccentDark</item>
|
|
|
|
<item name="colorOnSecondary">@color/textColorPrimaryDark</item>
|
|
|
|
<item name="colorSurface">@color/dialogDark</item>
|
|
|
|
<item name="colorOnSurface">@color/textColorPrimaryDark</item>
|
2016-04-10 15:48:57 +02:00
|
|
|
<item name="colorAccent">@color/colorAccentDark</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
|
|
|
|
<!-- Base background/text colors -->
|
|
|
|
<item name="android:colorBackground">@color/backgroundDark</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
<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>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="rippleColor">@color/rippleColorDark</item>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<item name="android:divider">@color/dividerDark</item>
|
|
|
|
|
2020-01-08 00:46:31 +01:00
|
|
|
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
|
2020-01-12 17:47:26 +01:00
|
|
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
2020-01-08 00:46:31 +01:00
|
|
|
<item name="android:navigationBarColor">@color/colorDarkPrimaryDark</item>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<!-- Themes -->
|
|
|
|
<item name="windowActionModeOverlay">true</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="actionBarTheme">@style/ThemeOverlay.MaterialComponents.Dark.ActionBar</item>
|
|
|
|
<item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents</item>
|
2020-01-21 00:37:42 +01:00
|
|
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="dialogTheme">@style/Theme.AlertDialog.Dark</item>
|
2016-06-16 20:52:51 +02:00
|
|
|
<item name="alertDialogTheme">@style/Theme.AlertDialog.Dark</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="md_background_color">?attr/colorSurface</item>
|
2016-06-16 20:52:51 +02:00
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<!-- Custom Attributes-->
|
2016-05-13 15:45:36 +02:00
|
|
|
<item name="selectable_library_drawable">@drawable/library_item_selector_dark</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.Tachiyomi.Dark" parent="Theme.Base.Dark">
|
|
|
|
<!-- Attributes specific for SDK 16 to SDK 20 -->
|
|
|
|
</style>
|
|
|
|
|
2018-10-27 19:10:11 +02:00
|
|
|
<style name="Theme.Tachiyomi.DarkBlue" parent="Theme.Base.Dark">
|
|
|
|
<item name="colorPrimary">@color/colorPrimary</item>
|
|
|
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
2020-01-08 00:46:31 +01:00
|
|
|
|
|
|
|
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
|
2020-01-12 17:47:26 +01:00
|
|
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
2020-01-08 00:46:31 +01:00
|
|
|
<item name="android:navigationBarColor">@color/colorDarkPrimaryDark</item>
|
2018-10-27 19:10:11 +02:00
|
|
|
</style>
|
|
|
|
|
2017-05-07 12:36:25 +02:00
|
|
|
<!--==============-->
|
|
|
|
<!-- Amoled Theme -->
|
|
|
|
<!--==============-->
|
|
|
|
<style name="Theme.Base.Amoled" parent="Theme.Base.Dark">
|
2018-03-14 18:01:30 +01:00
|
|
|
<item name="colorPrimary">@color/colorAmoledPrimary</item>
|
|
|
|
<item name="colorPrimaryDark">@color/colorAmoledPrimary</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="colorSurface">@color/colorAmoledPrimary</item>
|
|
|
|
|
|
|
|
<item name="android:colorBackground">@color/colorAmoledPrimary</item>
|
2017-05-07 12:36:25 +02:00
|
|
|
|
2020-01-08 00:46:31 +01:00
|
|
|
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
|
|
|
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
|
|
|
<item name="android:navigationBarColor">@android:color/transparent</item>
|
|
|
|
|
2020-01-21 03:34:47 +01:00
|
|
|
<!-- Themes -->
|
|
|
|
<item name="md_background_color">@color/colorAmoledPrimary</item>
|
|
|
|
|
2017-05-07 12:36:25 +02:00
|
|
|
<!-- Custom Attributes-->
|
|
|
|
<item name="selectable_library_drawable">@drawable/library_item_selector_amoled</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.Tachiyomi.Amoled" parent="Theme.Base.Amoled">
|
|
|
|
<!-- Attributes specific for SDK 16 to SDK 20 -->
|
|
|
|
</style>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<!--==============-->
|
|
|
|
<!-- Reader Theme -->
|
|
|
|
<!--==============-->
|
2018-09-01 17:12:59 +02:00
|
|
|
<style name="Theme.Base.Reader.Dark" parent="Theme.Base.Dark">
|
2020-02-10 04:59:03 +01:00
|
|
|
<item name="colorPrimary">@color/readerColorDarkPrimary</item>
|
2020-03-07 23:08:11 +01:00
|
|
|
<item name="colorPrimaryDark">@color/readerColorDarkPrimary</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="colorSurface">@android:color/black</item>
|
2020-01-08 00:46:31 +01:00
|
|
|
|
2020-03-12 23:27:19 +01:00
|
|
|
<item name="android:colorBackground">@android:color/black</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
|
|
|
<item name="android:navigationBarColor">?attr/colorPrimaryDark</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
</style>
|
|
|
|
|
2018-09-01 17:12:59 +02:00
|
|
|
<style name="Theme.Base.Reader.Light" parent="Theme.Base">
|
2020-02-10 04:59:03 +01:00
|
|
|
<item name="colorPrimary">@color/readerColorDarkPrimary</item>
|
2020-03-07 23:08:11 +01:00
|
|
|
<item name="colorPrimaryDark">@color/readerColorDarkPrimary</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="colorSurface">@android:color/white</item>
|
2020-01-08 00:46:31 +01:00
|
|
|
|
2020-03-12 23:27:19 +01:00
|
|
|
<item name="android:colorBackground">@android:color/white</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
|
|
|
<item name="android:navigationBarColor">?attr/colorPrimaryDark</item>
|
2018-09-01 17:12:59 +02:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.Reader" parent="Theme.Base.Reader.Dark">
|
|
|
|
<!-- Attributes specific for SDK 16 to SDK 20 -->
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.Reader.Light" parent="Theme.Base.Reader.Light">
|
2016-06-27 16:46:31 +02:00
|
|
|
<!-- Attributes specific for SDK 16 to SDK 20 -->
|
|
|
|
</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">
|
2020-02-19 04:13:45 +01:00
|
|
|
<item name="colorBackgroundSplash">@color/colorPrimary</item>
|
|
|
|
|
2020-01-09 04:38:19 +01:00
|
|
|
<item name="android:windowBackground">@drawable/splash_background</item>
|
2020-02-19 04:13:45 +01:00
|
|
|
<item name="android:statusBarColor">?attr/colorBackgroundSplash</item>
|
|
|
|
<item name="android:navigationBarColor">?attr/colorBackgroundSplash</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
</style>
|
|
|
|
|
2018-09-01 17:12:59 +02:00
|
|
|
</resources>
|