2016-03-12 08:22:40 -05:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-11-15 14:34:59 -05:00
|
|
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
2016-03-12 08:22:40 -05:00
|
|
|
|
|
|
|
<!--============-->
|
|
|
|
<!-- Base Theme -->
|
|
|
|
<!--============-->
|
|
|
|
<style name="Theme"/>
|
|
|
|
|
|
|
|
<!--==============-->
|
|
|
|
<!-- Light Themes -->
|
|
|
|
<!--=======-======-->
|
2020-03-11 19:08:57 -04:00
|
|
|
<style name="Theme.Base" parent="Theme.MaterialComponents.Light.NoActionBar">
|
|
|
|
<!-- AppBar -->
|
|
|
|
<item name="windowActionBar">false</item>
|
|
|
|
<item name="windowNoTitle">true</item>
|
|
|
|
|
|
|
|
<!-- Theme colors -->
|
2020-03-14 13:18:34 -04:00
|
|
|
<item name="colorPrimary">@color/md_white_1000</item>
|
|
|
|
<item name="colorOnPrimary">@color/md_black_1000</item>
|
2020-09-26 19:18:58 -04:00
|
|
|
<item name="colorAccentOnPrimary">@color/colorAccentLight</item>
|
2020-04-17 18:32:27 -04:00
|
|
|
<item name="colorPrimaryVariant">@color/md_white_1000</item>
|
2020-03-11 19:08:57 -04:00
|
|
|
<item name="colorSecondary">@color/colorAccentLight</item>
|
2020-03-14 13:18:34 -04:00
|
|
|
<item name="colorOnSecondary">@color/md_white_1000</item>
|
2020-03-11 19:08:57 -04:00
|
|
|
<item name="colorSurface">@color/dialogLight</item>
|
|
|
|
<item name="colorOnSurface">@color/textColorPrimaryLight</item>
|
2020-03-12 19:14:43 -04:00
|
|
|
<item name="colorOnBackground">@color/textColorPrimaryLight</item>
|
2016-04-10 09:48:57 -04:00
|
|
|
<item name="colorAccent">@color/colorAccentLight</item>
|
2020-03-11 19:08:57 -04:00
|
|
|
|
|
|
|
<!-- Base background/text colors -->
|
|
|
|
<item name="android:colorBackground">@color/backgroundLight</item>
|
2016-03-12 08:22:40 -05: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-11 19:08:57 -04:00
|
|
|
<item name="rippleColor">@color/rippleColorLight</item>
|
|
|
|
|
2016-03-12 08:22:40 -05:00
|
|
|
<item name="android:divider">@color/dividerLight</item>
|
2020-03-11 19:08:57 -04:00
|
|
|
<item name="android:listDivider">@drawable/line_divider</item>
|
2016-03-12 08:22:40 -05:00
|
|
|
|
2020-02-21 18:41:37 -05:00
|
|
|
<!-- Handles RTL text -->
|
|
|
|
<item name="android:textAlignment">gravity</item>
|
|
|
|
<item name="android:textDirection">locale</item>
|
|
|
|
|
2016-03-12 08:22:40 -05:00
|
|
|
<!-- Themes -->
|
2020-04-10 18:07:09 -04:00
|
|
|
<item name="android:statusBarColor">?attr/colorPrimary</item>
|
|
|
|
<item name="android:navigationBarColor">?attr/colorPrimary</item>
|
2020-11-15 14:34:59 -05:00
|
|
|
<item name="android:enforceNavigationBarContrast" tools:targetApi="29">false</item>
|
2016-03-12 08:22:40 -05:00
|
|
|
<item name="windowActionModeOverlay">true</item>
|
2020-03-24 18:18:10 -04:00
|
|
|
<item name="elevationOverlayEnabled">false</item>
|
2020-08-22 12:36:29 -04:00
|
|
|
<item name="actionModeStyle">@style/Theme.ActionMode</item>
|
|
|
|
<item name="actionModeCloseButtonStyle">@style/Theme.ActionMode.CloseButton</item>
|
|
|
|
<item name="actionModeCloseDrawable">@drawable/ic_close_24dp</item>
|
2020-03-12 18:59:42 -04:00
|
|
|
<item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents</item>
|
2020-03-15 16:52:27 -04:00
|
|
|
<item name="toolbarNavigationButtonStyle">@style/Theme.Toolbar.Navigation</item>
|
2020-01-20 18:37:42 -05:00
|
|
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
|
2020-03-11 19:08:57 -04:00
|
|
|
<item name="dialogTheme">@style/Theme.AlertDialog.Light</item>
|
|
|
|
<item name="alertDialogTheme">@style/Theme.AlertDialog.Dark</item>
|
2020-03-29 13:58:30 -04:00
|
|
|
<item name="chipStyle">@style/Theme.Widget.Chip</item>
|
2020-05-07 22:24:30 -04:00
|
|
|
<item name="buttonStyle">@style/Theme.Widget.Button</item>
|
2020-06-13 15:34:55 -04:00
|
|
|
<item name="snackbarStyle">@style/Theme.Widget.Snackbar</item>
|
2020-03-22 18:43:16 -04:00
|
|
|
<item name="snackbarButtonStyle">@style/Theme.Widget.Button</item>
|
2020-06-13 15:34:55 -04:00
|
|
|
<item name="snackbarTextViewStyle">@style/Theme.Widget.Snackbar.TextView</item>
|
2020-03-12 18:58:21 -04:00
|
|
|
<item name="textAppearanceButton">@style/TextAppearance.Widget.Button</item>
|
2020-04-22 18:20:38 -04:00
|
|
|
<item name="textInputStyle">@style/Theme.Widget.TextInputLayout.OutlinedBox</item>
|
2020-03-12 19:14:43 -04:00
|
|
|
<item name="android:itemTextAppearance">@style/TextAppearance.Widget.Menu</item>
|
2020-06-10 23:01:47 -04:00
|
|
|
<item name="swipeRefreshLayoutProgressSpinnerBackgroundColor">?attr/colorAccent</item>
|
2016-06-16 14:52:51 -04:00
|
|
|
|
2020-04-20 17:59:19 -04:00
|
|
|
<!-- Material Dialogs -->
|
|
|
|
<item name="md_background_color">?attr/colorSurface</item>
|
|
|
|
<item name="md_color_title">?attr/colorOnSurface</item>
|
|
|
|
<item name="md_color_content">?attr/colorOnSurface</item>
|
|
|
|
<item name="md_color_button_text">?attr/colorAccent</item>
|
2020-07-12 22:20:37 -04:00
|
|
|
<item name="md_button_casing">literal</item>
|
2020-04-20 17:59:19 -04:00
|
|
|
<item name="md_corner_radius">@dimen/card_radius</item>
|
|
|
|
|
2016-03-12 08:22:40 -05:00
|
|
|
<!-- Custom Attributes-->
|
2020-04-19 12:08:40 -04:00
|
|
|
<item name="colorLibrarySelection">?attr/colorAccent</item>
|
|
|
|
<item name="colorLibrarySelectionActive">@color/selectorColorLight</item>
|
2020-03-14 13:18:34 -04:00
|
|
|
<item name="colorFilterActive">@color/filterColorDark</item>
|
2016-03-12 08:22:40 -05:00
|
|
|
</style>
|
|
|
|
|
2020-01-07 18:46:31 -05:00
|
|
|
<!--===========-->
|
|
|
|
<!-- Main Theme-->
|
|
|
|
<!--===========-->
|
2020-03-14 13:18:34 -04:00
|
|
|
<style name="Theme.Tachiyomi.Light" parent="Theme.Base">
|
|
|
|
<item name="android:statusBarColor">@color/md_black_1000_54</item>
|
|
|
|
<item name="android:navigationBarColor">@color/md_black_1000_54</item>
|
|
|
|
|
|
|
|
<item name="colorFilterActive">@color/filterColorLight</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.Tachiyomi.LightBlue" parent="Theme.Base">
|
|
|
|
<item name="colorPrimary">@color/colorPrimary</item>
|
|
|
|
<item name="colorOnPrimary">@color/textColorPrimaryDark</item>
|
2020-09-26 19:18:58 -04:00
|
|
|
<item name="colorAccentOnPrimary">@color/textColorPrimaryDark</item>
|
2020-04-17 18:32:27 -04:00
|
|
|
<item name="colorPrimaryVariant">@color/colorPrimaryDark</item>
|
2020-03-14 13:18:34 -04:00
|
|
|
|
2020-03-15 16:52:27 -04:00
|
|
|
<item name="actionBarTheme">@style/Theme.Toolbar.Light</item>
|
2016-03-12 08:22:40 -05:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<!--=============-->
|
|
|
|
<!-- Dark Themes -->
|
|
|
|
<!--=============-->
|
2020-03-11 19:08:57 -04:00
|
|
|
<style name="Theme.Base.Dark" parent="Theme.MaterialComponents.NoActionBar">
|
|
|
|
<!-- Theme colors -->
|
2018-03-10 14:17:26 -05:00
|
|
|
<item name="colorPrimary">@color/colorDarkPrimary</item>
|
2020-03-11 19:08:57 -04:00
|
|
|
<item name="colorOnPrimary">@color/textColorPrimaryDark</item>
|
2020-09-26 19:18:58 -04:00
|
|
|
<item name="colorAccentOnPrimary">@color/colorAccentDark</item>
|
2020-04-17 18:32:27 -04:00
|
|
|
<item name="colorPrimaryVariant">@color/colorDarkPrimary</item>
|
2020-03-11 19:08:57 -04: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>
|
2020-03-12 19:14:43 -04:00
|
|
|
<item name="colorOnBackground">@color/textColorPrimaryDark</item>
|
2016-04-10 09:48:57 -04:00
|
|
|
<item name="colorAccent">@color/colorAccentDark</item>
|
2020-03-11 19:08:57 -04:00
|
|
|
|
2020-03-12 18:59:42 -04:00
|
|
|
<!-- Handles RTL text -->
|
|
|
|
<item name="android:textAlignment">gravity</item>
|
|
|
|
<item name="android:textDirection">locale</item>
|
|
|
|
|
2020-03-11 19:08:57 -04:00
|
|
|
<!-- Base background/text colors -->
|
|
|
|
<item name="android:colorBackground">@color/backgroundDark</item>
|
2016-03-12 08:22:40 -05: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-11 19:08:57 -04:00
|
|
|
<item name="rippleColor">@color/rippleColorDark</item>
|
|
|
|
|
2016-03-12 08:22:40 -05:00
|
|
|
<item name="android:divider">@color/dividerDark</item>
|
2020-03-12 18:59:13 -04:00
|
|
|
<item name="android:listDivider">@drawable/line_divider</item>
|
2016-03-12 08:22:40 -05:00
|
|
|
|
|
|
|
<!-- Themes -->
|
2020-04-10 18:07:09 -04:00
|
|
|
<item name="android:statusBarColor">?attr/colorPrimary</item>
|
|
|
|
<item name="android:navigationBarColor">?attr/colorPrimary</item>
|
2020-11-15 14:34:59 -05:00
|
|
|
<item name="android:enforceNavigationBarContrast" tools:targetApi="29">false</item>
|
2016-03-12 08:22:40 -05:00
|
|
|
<item name="windowActionModeOverlay">true</item>
|
2020-03-24 18:18:10 -04:00
|
|
|
<item name="elevationOverlayEnabled">false</item>
|
2020-08-22 12:36:29 -04:00
|
|
|
<item name="actionModeStyle">@style/Theme.ActionMode</item>
|
|
|
|
<item name="actionModeCloseButtonStyle">@style/Theme.ActionMode.CloseButton</item>
|
|
|
|
<item name="actionModeCloseDrawable">@drawable/ic_close_24dp</item>
|
2020-03-11 19:08:57 -04:00
|
|
|
<item name="actionBarTheme">@style/ThemeOverlay.MaterialComponents.Dark.ActionBar</item>
|
|
|
|
<item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents</item>
|
2020-03-15 16:52:27 -04:00
|
|
|
<item name="toolbarNavigationButtonStyle">@style/Theme.Toolbar.Navigation</item>
|
2020-01-20 18:37:42 -05:00
|
|
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
|
2020-03-11 19:08:57 -04:00
|
|
|
<item name="dialogTheme">@style/Theme.AlertDialog.Dark</item>
|
2016-06-16 14:52:51 -04:00
|
|
|
<item name="alertDialogTheme">@style/Theme.AlertDialog.Dark</item>
|
2020-03-29 13:58:30 -04:00
|
|
|
<item name="chipStyle">@style/Theme.Widget.Chip</item>
|
2020-05-07 22:24:30 -04:00
|
|
|
<item name="buttonStyle">@style/Theme.Widget.Button</item>
|
2020-04-05 13:55:42 -04:00
|
|
|
<item name="snackbarStyle">@style/Theme.Widget.Snackbar</item>
|
2020-03-22 18:43:16 -04:00
|
|
|
<item name="snackbarButtonStyle">@style/Theme.Widget.Button</item>
|
2020-06-13 15:34:55 -04:00
|
|
|
<item name="snackbarTextViewStyle">@style/Theme.Widget.Snackbar.TextView</item>
|
2020-03-12 18:58:21 -04:00
|
|
|
<item name="textAppearanceButton">@style/TextAppearance.Widget.Button</item>
|
2020-04-22 18:20:38 -04:00
|
|
|
<item name="textInputStyle">@style/Theme.Widget.TextInputLayout.OutlinedBox</item>
|
2020-03-12 19:14:43 -04:00
|
|
|
<item name="android:itemTextAppearance">@style/TextAppearance.Widget.Menu</item>
|
2020-06-10 23:01:47 -04:00
|
|
|
<item name="swipeRefreshLayoutProgressSpinnerBackgroundColor">?attr/colorAccent</item>
|
2020-03-12 18:58:21 -04:00
|
|
|
|
2020-04-20 17:59:19 -04:00
|
|
|
<!-- Material Dialogs -->
|
2020-03-11 19:08:57 -04:00
|
|
|
<item name="md_background_color">?attr/colorSurface</item>
|
2020-04-20 17:59:19 -04:00
|
|
|
<item name="md_color_title">?attr/colorOnSurface</item>
|
|
|
|
<item name="md_color_content">?attr/colorOnSurface</item>
|
|
|
|
<item name="md_color_button_text">?attr/colorAccent</item>
|
2020-07-12 22:20:37 -04:00
|
|
|
<item name="md_button_casing">literal</item>
|
2020-04-20 17:59:19 -04:00
|
|
|
<item name="md_corner_radius">@dimen/card_radius</item>
|
2016-06-16 14:52:51 -04:00
|
|
|
|
2016-03-12 08:22:40 -05:00
|
|
|
<!-- Custom Attributes-->
|
2020-04-19 12:08:40 -04:00
|
|
|
<item name="colorLibrarySelection">?attr/colorAccent</item>
|
|
|
|
<item name="colorLibrarySelectionActive">@color/selectorColorDark</item>
|
2020-03-14 13:18:34 -04:00
|
|
|
<item name="colorFilterActive">@color/filterColorDark</item>
|
2016-03-12 08:22:40 -05:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.Tachiyomi.Dark" parent="Theme.Base.Dark">
|
|
|
|
</style>
|
|
|
|
|
2018-10-27 13:10:11 -04:00
|
|
|
<style name="Theme.Tachiyomi.DarkBlue" parent="Theme.Base.Dark">
|
|
|
|
<item name="colorPrimary">@color/colorPrimary</item>
|
2020-09-26 19:18:58 -04:00
|
|
|
<item name="colorAccentOnPrimary">@color/textColorPrimaryDark</item>
|
2020-04-17 18:32:27 -04:00
|
|
|
<item name="colorPrimaryVariant">@color/colorPrimary</item>
|
2018-10-27 13:10:11 -04:00
|
|
|
</style>
|
|
|
|
|
2020-05-15 09:22:01 -04:00
|
|
|
<style name="Theme.Tachiyomi.Amoled" parent="Theme.Base.Dark">
|
2018-03-14 13:01:30 -04:00
|
|
|
<item name="colorPrimary">@color/colorAmoledPrimary</item>
|
2020-04-17 18:32:27 -04:00
|
|
|
<item name="colorPrimaryVariant">@color/colorAmoledPrimary</item>
|
2020-03-11 19:08:57 -04:00
|
|
|
<item name="colorSurface">@color/colorAmoledPrimary</item>
|
|
|
|
|
|
|
|
<item name="android:colorBackground">@color/colorAmoledPrimary</item>
|
2017-05-07 06:36:25 -04:00
|
|
|
|
2020-04-10 18:07:09 -04:00
|
|
|
<!-- Some ROMs make black navbars white (e.g. OxygenOS) -->
|
2020-01-07 18:46:31 -05:00
|
|
|
<item name="android:navigationBarColor">@android:color/transparent</item>
|
|
|
|
|
2017-05-07 06:36:25 -04:00
|
|
|
<!-- Custom Attributes-->
|
2020-04-19 12:08:40 -04:00
|
|
|
<item name="colorLibrarySelection">@color/selectorColorDark</item>
|
|
|
|
<item name="colorLibrarySelectionActive">@color/selectorColorDark</item>
|
2017-05-07 06:36:25 -04:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 08:22:40 -05:00
|
|
|
<!--==============-->
|
|
|
|
<!-- Reader Theme -->
|
|
|
|
<!--==============-->
|
2018-09-01 11:12:59 -04:00
|
|
|
<style name="Theme.Base.Reader.Dark" parent="Theme.Base.Dark">
|
2020-02-09 22:59:03 -05:00
|
|
|
<item name="colorPrimary">@color/readerColorDarkPrimary</item>
|
2020-03-15 16:46:38 -04:00
|
|
|
<item name="colorOnPrimary">@color/textColorPrimaryDark</item>
|
2020-04-17 18:32:27 -04:00
|
|
|
<item name="colorPrimaryVariant">@color/readerColorDarkPrimary</item>
|
2020-03-14 13:18:34 -04:00
|
|
|
<item name="colorSurface">@color/md_black_1000</item>
|
2020-01-07 18:46:31 -05:00
|
|
|
|
2020-03-14 13:18:34 -04:00
|
|
|
<item name="android:colorBackground">@color/md_black_1000</item>
|
2020-04-17 18:32:27 -04:00
|
|
|
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
|
|
|
|
<item name="android:navigationBarColor">?attr/colorPrimaryVariant</item>
|
2020-03-14 13:18:34 -04:00
|
|
|
|
|
|
|
<item name="actionBarTheme">@style/ThemeOverlay.MaterialComponents.Dark.ActionBar</item>
|
|
|
|
<item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents</item>
|
2020-04-11 11:29:55 -04:00
|
|
|
<item name="switchStyle">@style/Theme.Widget.BasicSwitch</item>
|
2016-03-12 08:22:40 -05:00
|
|
|
</style>
|
|
|
|
|
2018-09-01 11:12:59 -04:00
|
|
|
<style name="Theme.Base.Reader.Light" parent="Theme.Base">
|
2020-02-09 22:59:03 -05:00
|
|
|
<item name="colorPrimary">@color/readerColorDarkPrimary</item>
|
2020-03-15 16:46:38 -04:00
|
|
|
<item name="colorOnPrimary">@color/textColorPrimaryDark</item>
|
2020-04-17 18:32:27 -04:00
|
|
|
<item name="colorPrimaryVariant">@color/readerColorDarkPrimary</item>
|
2020-03-14 13:18:34 -04:00
|
|
|
<item name="colorSurface">@color/md_white_1000</item>
|
2020-01-07 18:46:31 -05:00
|
|
|
|
2020-03-14 13:18:34 -04:00
|
|
|
<item name="android:colorBackground">@color/md_white_1000</item>
|
2020-04-17 18:32:27 -04:00
|
|
|
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
|
|
|
|
<item name="android:navigationBarColor">?attr/colorPrimaryVariant</item>
|
2020-03-14 13:18:34 -04:00
|
|
|
|
|
|
|
<item name="actionBarTheme">@style/ThemeOverlay.MaterialComponents.Dark.ActionBar</item>
|
|
|
|
<item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents</item>
|
2020-04-11 11:29:55 -04:00
|
|
|
<item name="switchStyle">@style/Theme.Widget.BasicSwitch</item>
|
2018-09-01 11:12:59 -04:00
|
|
|
</style>
|
|
|
|
|
2020-05-01 21:40:36 -04:00
|
|
|
<style name="Theme.Reader.Dark" parent="Theme.Base.Reader.Dark" />
|
2018-09-01 11:12:59 -04:00
|
|
|
|
2020-05-01 21:40:36 -04:00
|
|
|
<style name="Theme.Reader.Dark.Grey" parent="Theme.Base.Reader.Dark">
|
|
|
|
<item name="android:colorBackground">@color/backgroundDark</item>
|
2016-06-27 10:46:31 -04:00
|
|
|
</style>
|
|
|
|
|
2020-05-01 21:40:36 -04:00
|
|
|
<style name="Theme.Reader.Light" parent="Theme.Base.Reader.Light" />
|
|
|
|
|
2016-06-27 10:46:31 -04:00
|
|
|
|
2016-03-12 08:22:40 -05:00
|
|
|
<!--===============-->
|
|
|
|
<!-- Launch Screen -->
|
|
|
|
<!--===============-->
|
2020-03-14 13:18:34 -04:00
|
|
|
<style name="Theme.Splash" parent="Theme.Tachiyomi.LightBlue">
|
2020-02-18 22:13:45 -05:00
|
|
|
<item name="colorBackgroundSplash">@color/colorPrimary</item>
|
|
|
|
|
2020-01-08 22:38:19 -05:00
|
|
|
<item name="android:windowBackground">@drawable/splash_background</item>
|
2020-02-18 22:13:45 -05:00
|
|
|
<item name="android:statusBarColor">?attr/colorBackgroundSplash</item>
|
|
|
|
<item name="android:navigationBarColor">?attr/colorBackgroundSplash</item>
|
2016-03-12 08:22:40 -05:00
|
|
|
</style>
|
|
|
|
|
2018-09-01 11:12:59 -04:00
|
|
|
</resources>
|