2016-03-12 14:22:40 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-11-15 20:34:59 +01:00
|
|
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
2016-03-12 14:22:40 +01:00
|
|
|
|
|
|
|
<!--============-->
|
|
|
|
<!-- Base Theme -->
|
|
|
|
<!--============-->
|
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!--== Theme ==-->
|
|
|
|
<style name="Theme" />
|
|
|
|
|
|
|
|
<!--== Theme base ==-->
|
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>
|
2021-05-24 17:16:32 +02:00
|
|
|
<!-- Disallow 'Force dark theme' -->
|
2021-04-13 14:51:08 +02:00
|
|
|
<item name="android:forceDarkAllowed" tools:targetApi="Q">false</item>
|
|
|
|
|
2020-03-12 00:08:57 +01:00
|
|
|
<!-- Theme colors -->
|
2020-03-14 18:18:34 +01:00
|
|
|
<item name="colorPrimary">@color/md_white_1000</item>
|
|
|
|
<item name="colorOnPrimary">@color/md_black_1000</item>
|
2020-09-27 01:18:58 +02:00
|
|
|
<item name="colorAccentOnPrimary">@color/colorAccentLight</item>
|
2020-04-18 00:32:27 +02:00
|
|
|
<item name="colorPrimaryVariant">@color/md_white_1000</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="colorSecondary">@color/colorAccentLight</item>
|
2020-03-14 18:18:34 +01:00
|
|
|
<item name="colorOnSecondary">@color/md_white_1000</item>
|
2021-05-27 00:11:14 +02:00
|
|
|
<item name="colorTertiary">@color/green</item>
|
|
|
|
<item name="colorOnTertiary">@color/md_white_1000</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="colorSurface">@color/dialogLight</item>
|
|
|
|
<item name="colorOnSurface">@color/textColorPrimaryLight</item>
|
2020-03-13 00:14:43 +01:00
|
|
|
<item name="colorOnBackground">@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>
|
2021-04-14 04:48:39 +02:00
|
|
|
<item name="android:colorEdgeEffect">?attr/colorAccent</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
|
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
|
|
|
|
2021-05-23 20:29:59 +02:00
|
|
|
<!-- Ripples -->
|
|
|
|
<item name="rippleColor">@color/rippleColorLight</item>
|
|
|
|
<item name="rippleSecondaryColor">@color/rippleSecondaryColorLight</item>
|
|
|
|
<item name="rippleToolbarColor">@color/rippleToolbarColorLight</item>
|
2021-05-27 00:11:14 +02:00
|
|
|
<item name="android:colorControlHighlight">@color/rippleColorLight</item>
|
2021-05-23 20:29:59 +02: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 -->
|
2021-04-18 17:29:56 +02:00
|
|
|
<item name="android:statusBarColor">@color/md_black_1000</item>
|
|
|
|
<item name="android:navigationBarColor">@color/md_black_1000</item>
|
|
|
|
<item name="android:navigationBarDividerColor" tools:targetApi="o_mr1">@null</item>
|
2021-04-13 14:51:08 +02:00
|
|
|
<item name="android:enforceNavigationBarContrast" tools:targetApi="Q">false</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
<item name="windowActionModeOverlay">true</item>
|
2020-03-24 23:18:10 +01:00
|
|
|
<item name="elevationOverlayEnabled">false</item>
|
2020-08-22 18:36:29 +02:00
|
|
|
<item name="actionModeStyle">@style/Theme.ActionMode</item>
|
|
|
|
<item name="actionModeCloseButtonStyle">@style/Theme.ActionMode.CloseButton</item>
|
|
|
|
<item name="actionModeCloseDrawable">@drawable/ic_close_24dp</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
<item name="actionBarTheme">@style/Theme.Toolbar.Custom.Light</item>
|
2020-03-12 23:59:42 +01:00
|
|
|
<item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents</item>
|
2020-03-15 21:52:27 +01:00
|
|
|
<item name="toolbarNavigationButtonStyle">@style/Theme.Toolbar.Navigation</item>
|
2021-05-23 00:08:48 +02:00
|
|
|
<item name="preferenceTheme">@style/PreferenceThemeCustom</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="dialogTheme">@style/Theme.AlertDialog.Light</item>
|
2021-03-13 23:42:49 +01:00
|
|
|
<item name="materialAlertDialogTheme">@style/Theme.AlertDialog.Light</item>
|
2020-11-22 21:49:57 +01:00
|
|
|
<item name="bottomSheetDialogTheme">@style/Theme.BottomSheet</item>
|
2020-03-29 19:58:30 +02:00
|
|
|
<item name="chipStyle">@style/Theme.Widget.Chip</item>
|
2020-05-08 04:24:30 +02:00
|
|
|
<item name="buttonStyle">@style/Theme.Widget.Button</item>
|
2020-06-13 21:34:55 +02:00
|
|
|
<item name="snackbarStyle">@style/Theme.Widget.Snackbar</item>
|
2020-03-22 23:43:16 +01:00
|
|
|
<item name="snackbarButtonStyle">@style/Theme.Widget.Button</item>
|
2020-06-13 21:34:55 +02:00
|
|
|
<item name="snackbarTextViewStyle">@style/Theme.Widget.Snackbar.TextView</item>
|
2020-03-12 23:58:21 +01:00
|
|
|
<item name="textAppearanceButton">@style/TextAppearance.Widget.Button</item>
|
2020-04-23 00:20:38 +02:00
|
|
|
<item name="textInputStyle">@style/Theme.Widget.TextInputLayout.OutlinedBox</item>
|
2020-03-13 00:14:43 +01:00
|
|
|
<item name="android:itemTextAppearance">@style/TextAppearance.Widget.Menu</item>
|
2020-06-11 05:01:47 +02:00
|
|
|
<item name="swipeRefreshLayoutProgressSpinnerBackgroundColor">?attr/colorAccent</item>
|
2020-12-26 17:24:10 +01:00
|
|
|
<item name="circularProgressIndicatorStyle">@style/Theme.Widget.CircularProgressIndicator</item>
|
2020-12-26 16:39:09 +01:00
|
|
|
<item name="linearProgressIndicatorStyle">@style/Theme.Widget.LinearProgressIndicator</item>
|
2016-06-16 20:52:51 +02:00
|
|
|
|
2020-04-20 23:59:19 +02: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>
|
2021-05-27 00:11:14 +02:00
|
|
|
<item name="md_ripple_color">?attr/rippleColor</item>
|
2020-07-13 04:20:37 +02:00
|
|
|
<item name="md_button_casing">literal</item>
|
2021-03-13 23:18:22 +01:00
|
|
|
<item name="md_corner_radius">@dimen/dialog_radius</item>
|
2020-04-20 23:59:19 +02:00
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<!-- Custom Attributes-->
|
2020-04-19 18:08:40 +02:00
|
|
|
<item name="colorLibrarySelection">?attr/colorAccent</item>
|
|
|
|
<item name="colorLibrarySelectionActive">@color/selectorColorLight</item>
|
2021-04-18 17:29:56 +02:00
|
|
|
<item name="colorFilterActive">@color/filterColorLight</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
</style>
|
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!--==============-->
|
|
|
|
<!-- Light Themes -->
|
|
|
|
<!--==============-->
|
|
|
|
|
|
|
|
<!--== Light base ==-->
|
2021-04-19 21:29:00 +02:00
|
|
|
<style name="Base.Theme.Tachiyomi.Light" parent="Theme.Base">
|
2021-05-24 17:16:32 +02:00
|
|
|
<!-- Base background/text colors -->
|
2021-04-19 21:29:00 +02:00
|
|
|
<item name="android:statusBarColor">?attr/colorPrimary</item>
|
|
|
|
<item name="android:windowLightStatusBar">true</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
<item name="background">@color/dialogLight</item>
|
2021-04-19 21:29:00 +02:00
|
|
|
</style>
|
2021-05-24 17:16:32 +02:00
|
|
|
|
|
|
|
<!--== Light theme ==-->
|
2021-04-18 17:29:56 +02:00
|
|
|
<style name="Theme.Tachiyomi.Light" parent="Base.Theme.Tachiyomi.Light" />
|
2020-03-14 18:18:34 +01:00
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!--== Light Blue theme ==-->
|
2021-04-18 17:29:56 +02:00
|
|
|
<style name="Theme.Tachiyomi.Light.Blue">
|
2021-05-24 17:16:32 +02:00
|
|
|
<!-- Theme colors -->
|
2020-03-14 18:18:34 +01:00
|
|
|
<item name="colorPrimary">@color/colorPrimary</item>
|
|
|
|
<item name="colorOnPrimary">@color/textColorPrimaryDark</item>
|
2020-09-27 01:18:58 +02:00
|
|
|
<item name="colorAccentOnPrimary">@color/textColorPrimaryDark</item>
|
2020-04-18 00:32:27 +02:00
|
|
|
<item name="colorPrimaryVariant">@color/colorPrimaryDark</item>
|
2021-04-18 17:29:56 +02:00
|
|
|
<item name="colorFilterActive">@color/filterColorDark</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
|
|
|
|
<!-- Base background/text colors -->
|
|
|
|
<item name="background">@color/colorPrimary</item>
|
|
|
|
|
|
|
|
<!-- Ripples -->
|
2021-05-23 20:29:59 +02:00
|
|
|
<item name="rippleSecondaryColor">@color/md_white_1000_6</item>
|
|
|
|
<item name="rippleToolbarColor">@color/md_white_1000_12</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
|
|
|
|
<!-- Themes -->
|
|
|
|
<item name="actionBarTheme">@style/Theme.Toolbar.Custom.PopupTheme</item>
|
|
|
|
|
|
|
|
<!-- Status/Navigation bar -->
|
2021-04-18 17:29:56 +02:00
|
|
|
<item name="android:windowLightStatusBar" tools:targetApi="m">false</item>
|
|
|
|
<item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">false</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
</style>
|
|
|
|
|
2021-05-24 22:02:45 +02:00
|
|
|
<!--== Strawberry Daiquiri theme ==-->
|
|
|
|
<style name="Theme.Tachiyomi.Light.StrawberryDaiquiri">
|
|
|
|
<!-- Theme colors -->
|
|
|
|
<item name="colorAccentOnPrimary">@color/colorAccentStrawberry</item>
|
|
|
|
<item name="colorSecondary">@color/colorAccentStrawberry</item>
|
2021-05-27 00:11:14 +02:00
|
|
|
<item name="colorTertiary">@color/md_blue_A400</item>
|
|
|
|
<item name="colorOnTertiary">@color/md_white_1000</item>
|
2021-05-24 22:02:45 +02:00
|
|
|
<item name="colorAccent">@color/colorAccentStrawberry</item>
|
|
|
|
|
|
|
|
<!-- Ripples -->
|
|
|
|
<item name="rippleSecondaryColor">@color/rippleSecondaryColorStrawberry</item>
|
|
|
|
|
2021-05-27 00:11:14 +02:00
|
|
|
<!-- Themes -->
|
|
|
|
<item name="materialAlertDialogTheme">@style/Theme.AlertDialog.Light.StrawberryDaiquiri</item>
|
|
|
|
|
2021-05-24 22:02:45 +02:00
|
|
|
<!-- Custom Attributes-->
|
|
|
|
<item name="colorLibrarySelectionActive">@color/selectorColorStrawberry</item>
|
|
|
|
</style>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<!--=============-->
|
|
|
|
<!-- Dark Themes -->
|
|
|
|
<!--=============-->
|
2021-05-24 17:16:32 +02:00
|
|
|
|
|
|
|
<!--== Dark base ==-->
|
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>
|
2020-09-27 01:18:58 +02:00
|
|
|
<item name="colorAccentOnPrimary">@color/colorAccentDark</item>
|
2020-04-18 00:32:27 +02:00
|
|
|
<item name="colorPrimaryVariant">@color/colorDarkPrimary</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="colorSecondary">@color/colorAccentDark</item>
|
|
|
|
<item name="colorOnSecondary">@color/textColorPrimaryDark</item>
|
2021-05-27 00:11:14 +02:00
|
|
|
<item name="colorTertiary">@color/green</item>
|
|
|
|
<item name="colorOnTertiary">@color/md_white_1000</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="colorSurface">@color/dialogDark</item>
|
|
|
|
<item name="colorOnSurface">@color/textColorPrimaryDark</item>
|
2020-03-13 00:14:43 +01:00
|
|
|
<item name="colorOnBackground">@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
|
|
|
|
2020-03-12 23:59:42 +01:00
|
|
|
<!-- Handles RTL text -->
|
|
|
|
<item name="android:textAlignment">gravity</item>
|
|
|
|
<item name="android:textDirection">locale</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>
|
2021-04-14 04:48:39 +02:00
|
|
|
<item name="android:colorEdgeEffect">?attr/colorAccent</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
<item name="background">@color/colorDarkPrimaryDark</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<item name="android:divider">@color/dividerDark</item>
|
2020-03-12 23:59:13 +01:00
|
|
|
<item name="android:listDivider">@drawable/line_divider</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
|
2021-05-23 20:29:59 +02:00
|
|
|
<!-- Ripples -->
|
|
|
|
<item name="rippleColor">@color/rippleColorDark</item>
|
|
|
|
<item name="rippleSecondaryColor">@color/rippleSecondaryColorDark</item>
|
|
|
|
<item name="rippleToolbarColor">@color/rippleToolbarColorDark</item>
|
2021-05-27 00:11:14 +02:00
|
|
|
<item name="android:colorControlHighlight">@color/rippleColorDark</item>
|
2021-05-23 20:29:59 +02:00
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<!-- Themes -->
|
2020-04-11 00:07:09 +02:00
|
|
|
<item name="android:statusBarColor">?attr/colorPrimary</item>
|
|
|
|
<item name="android:navigationBarColor">?attr/colorPrimary</item>
|
2021-04-18 17:29:56 +02:00
|
|
|
<item name="android:navigationBarDividerColor" tools:targetApi="o_mr1">@null</item>
|
2021-04-13 14:51:08 +02:00
|
|
|
<item name="android:enforceNavigationBarContrast" tools:targetApi="Q">false</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
<item name="windowActionModeOverlay">true</item>
|
2020-03-24 23:18:10 +01:00
|
|
|
<item name="elevationOverlayEnabled">false</item>
|
2020-08-22 18:36:29 +02:00
|
|
|
<item name="actionModeStyle">@style/Theme.ActionMode</item>
|
|
|
|
<item name="actionModeCloseButtonStyle">@style/Theme.ActionMode.CloseButton</item>
|
|
|
|
<item name="actionModeCloseDrawable">@drawable/ic_close_24dp</item>
|
2021-05-23 20:29:59 +02:00
|
|
|
<item name="actionBarTheme">@style/Theme.Toolbar.Custom.Dark</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents</item>
|
2020-03-15 21:52:27 +01:00
|
|
|
<item name="toolbarNavigationButtonStyle">@style/Theme.Toolbar.Navigation</item>
|
2021-05-23 00:08:48 +02:00
|
|
|
<item name="preferenceTheme">@style/PreferenceThemeCustom</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="dialogTheme">@style/Theme.AlertDialog.Dark</item>
|
2021-03-13 23:42:49 +01:00
|
|
|
<item name="materialAlertDialogTheme">@style/Theme.AlertDialog.Dark</item>
|
2020-11-22 21:49:57 +01:00
|
|
|
<item name="bottomSheetDialogTheme">@style/Theme.BottomSheet</item>
|
2020-03-29 19:58:30 +02:00
|
|
|
<item name="chipStyle">@style/Theme.Widget.Chip</item>
|
2020-05-08 04:24:30 +02:00
|
|
|
<item name="buttonStyle">@style/Theme.Widget.Button</item>
|
2020-04-05 19:55:42 +02:00
|
|
|
<item name="snackbarStyle">@style/Theme.Widget.Snackbar</item>
|
2020-03-22 23:43:16 +01:00
|
|
|
<item name="snackbarButtonStyle">@style/Theme.Widget.Button</item>
|
2020-06-13 21:34:55 +02:00
|
|
|
<item name="snackbarTextViewStyle">@style/Theme.Widget.Snackbar.TextView</item>
|
2020-03-12 23:58:21 +01:00
|
|
|
<item name="textAppearanceButton">@style/TextAppearance.Widget.Button</item>
|
2020-04-23 00:20:38 +02:00
|
|
|
<item name="textInputStyle">@style/Theme.Widget.TextInputLayout.OutlinedBox</item>
|
2020-03-13 00:14:43 +01:00
|
|
|
<item name="android:itemTextAppearance">@style/TextAppearance.Widget.Menu</item>
|
2020-06-11 05:01:47 +02:00
|
|
|
<item name="swipeRefreshLayoutProgressSpinnerBackgroundColor">?attr/colorAccent</item>
|
2020-12-26 17:24:10 +01:00
|
|
|
<item name="circularProgressIndicatorStyle">@style/Theme.Widget.CircularProgressIndicator</item>
|
2020-12-26 16:39:09 +01:00
|
|
|
<item name="linearProgressIndicatorStyle">@style/Theme.Widget.LinearProgressIndicator</item>
|
2020-03-12 23:58:21 +01:00
|
|
|
|
2020-04-20 23:59:19 +02:00
|
|
|
<!-- Material Dialogs -->
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="md_background_color">?attr/colorSurface</item>
|
2020-04-20 23:59:19 +02: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>
|
2021-05-27 00:11:14 +02:00
|
|
|
<item name="md_ripple_color">?attr/rippleColor</item>
|
2020-07-13 04:20:37 +02:00
|
|
|
<item name="md_button_casing">literal</item>
|
2021-03-13 23:18:22 +01:00
|
|
|
<item name="md_corner_radius">@dimen/dialog_radius</item>
|
2016-06-16 20:52:51 +02:00
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<!-- Custom Attributes-->
|
2020-04-19 18:08:40 +02:00
|
|
|
<item name="colorLibrarySelection">?attr/colorAccent</item>
|
|
|
|
<item name="colorLibrarySelectionActive">@color/selectorColorDark</item>
|
2020-03-14 18:18:34 +01:00
|
|
|
<item name="colorFilterActive">@color/filterColorDark</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
</style>
|
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!--== Dark theme ==-->
|
2021-04-18 17:29:56 +02:00
|
|
|
<style name="Theme.Tachiyomi.Dark" parent="Theme.Base.Dark" />
|
2016-03-12 14:22:40 +01:00
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!--== Dark Blue theme ==-->
|
2021-04-18 17:29:56 +02:00
|
|
|
<style name="Theme.Tachiyomi.Dark.Blue">
|
2021-05-24 17:16:32 +02:00
|
|
|
<!-- Theme colors -->
|
2018-10-27 19:10:11 +02:00
|
|
|
<item name="colorPrimary">@color/colorPrimary</item>
|
2020-09-27 01:18:58 +02:00
|
|
|
<item name="colorAccentOnPrimary">@color/textColorPrimaryDark</item>
|
2020-04-18 00:32:27 +02:00
|
|
|
<item name="colorPrimaryVariant">@color/colorPrimary</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
|
|
|
|
<!-- Base background/text colors -->
|
|
|
|
<item name="background">@color/colorPrimary</item>
|
|
|
|
|
|
|
|
<!-- Ripples -->
|
2021-05-23 20:29:59 +02:00
|
|
|
<item name="rippleSecondaryColor">@color/md_black_1000_6</item>
|
|
|
|
<item name="rippleToolbarColor">@color/md_black_1000_12</item>
|
2018-10-27 19:10:11 +02:00
|
|
|
</style>
|
|
|
|
|
2021-05-25 14:26:17 +02:00
|
|
|
<!--== Green Apple theme ==-->
|
|
|
|
<style name="Theme.Tachiyomi.Dark.GreenApple">
|
|
|
|
<!-- Theme colors -->
|
|
|
|
<item name="colorAccentOnPrimary">@color/colorAccentApple</item>
|
|
|
|
<item name="colorSecondary">@color/colorAccentApple</item>
|
|
|
|
<item name="colorOnSecondary">@color/colorOnSecondaryApple</item>
|
2021-05-27 00:11:14 +02:00
|
|
|
<item name="colorTertiary">@color/md_blue_A400</item>
|
|
|
|
<item name="colorOnTertiary">@color/md_white_1000</item>
|
2021-05-25 14:26:17 +02:00
|
|
|
<item name="colorAccent">@color/colorAccentApple</item>
|
|
|
|
|
|
|
|
<!-- Ripples -->
|
|
|
|
<item name="rippleSecondaryColor">@color/rippleSecondaryColorApple</item>
|
|
|
|
|
2021-05-27 00:11:14 +02:00
|
|
|
<!-- Themes -->
|
|
|
|
<item name="materialAlertDialogTheme">@style/Theme.AlertDialog.Dark.GreenApple</item>
|
|
|
|
|
2021-05-25 14:26:17 +02:00
|
|
|
<!-- Custom Attributes-->
|
|
|
|
<item name="colorLibrarySelectionActive">@color/selectorColorApple</item>
|
|
|
|
</style>
|
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!--== Midnight Dusk theme ==-->
|
|
|
|
<style name="Theme.Tachiyomi.Dark.MidnightDusk" parent="Theme.Base.Dark">
|
|
|
|
<!-- Theme colors -->
|
|
|
|
<item name="colorPrimary">@color/dialogDusk</item>
|
|
|
|
<item name="colorOnPrimary">@color/textColorPrimaryDusk</item>
|
|
|
|
<item name="colorAccentOnPrimary">@color/colorAccentDusk</item>
|
|
|
|
<item name="colorPrimaryVariant">@color/dialogDusk</item>
|
|
|
|
<item name="colorSecondary">@color/colorAccentDusk</item>
|
|
|
|
<item name="colorOnSecondary">@color/textColorPrimaryDusk</item>
|
2021-05-27 00:11:14 +02:00
|
|
|
<item name="colorTertiary">@color/md_blue_A400</item>
|
|
|
|
<item name="colorOnTertiary">@color/md_white_1000</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
<item name="colorSurface">@color/dialogDusk</item>
|
|
|
|
<item name="colorOnSurface">@color/textColorPrimaryDusk</item>
|
|
|
|
<item name="colorOnBackground">@color/textColorPrimaryDusk</item>
|
|
|
|
<item name="colorAccent">@color/colorAccentDusk</item>
|
|
|
|
|
|
|
|
<!-- Base background/text colors -->
|
|
|
|
<item name="android:colorBackground">@color/backgroundDusk</item>
|
|
|
|
<item name="background">@color/backgroundDusk</item>
|
|
|
|
|
|
|
|
<!-- Ripples -->
|
|
|
|
<item name="rippleSecondaryColor">@color/rippleSecondaryColorDusk</item>
|
|
|
|
|
2021-05-27 00:11:14 +02:00
|
|
|
<!-- Themes -->
|
|
|
|
<item name="materialAlertDialogTheme">@style/Theme.AlertDialog.Dark.MidnightDusk</item>
|
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!-- Custom Attributes -->
|
|
|
|
<item name="colorLibrarySelection">@color/selectorColorDark</item>
|
|
|
|
<item name="colorLibrarySelectionActive">@color/selectorColorDark</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<!--===============-->
|
|
|
|
<!-- AMOLED Themes -->
|
|
|
|
<!--===============-->
|
|
|
|
|
|
|
|
<!--== AMOLED base ==-->
|
|
|
|
<style name="Theme.Base.Amoled" parent="Theme.MaterialComponents.NoActionBar">
|
|
|
|
<!-- Theme colors -->
|
2018-03-14 18:01:30 +01:00
|
|
|
<item name="colorPrimary">@color/colorAmoledPrimary</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
<item name="colorOnPrimary">@color/textColorPrimaryAmoled</item>
|
|
|
|
<item name="colorAccentOnPrimary">@color/colorAccentAmoled</item>
|
2020-04-18 00:32:27 +02:00
|
|
|
<item name="colorPrimaryVariant">@color/colorAmoledPrimary</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
<item name="colorSecondary">@color/colorAccentAmoled</item>
|
|
|
|
<item name="colorOnSecondary">@color/textColorPrimaryAmoled</item>
|
|
|
|
<item name="colorSurface">@color/dialogAmoled</item>
|
|
|
|
<item name="colorOnSurface">@color/textColorPrimaryAmoled</item>
|
|
|
|
<item name="colorOnBackground">@color/textColorPrimaryAmoled</item>
|
|
|
|
<item name="colorAccent">@color/colorAccentAmoled</item>
|
|
|
|
|
|
|
|
<!-- Handles RTL text -->
|
|
|
|
<item name="android:textAlignment">gravity</item>
|
|
|
|
<item name="android:textDirection">locale</item>
|
2020-03-12 00:08:57 +01:00
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!-- Base background/text colors -->
|
2020-03-12 00:08:57 +01:00
|
|
|
<item name="android:colorBackground">@color/colorAmoledPrimary</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
<item name="android:textColorPrimary">@color/textColorPrimaryAmoled</item>
|
|
|
|
<item name="android:textColorSecondary">@color/textColorSecondaryAmoled</item>
|
|
|
|
<item name="android:textColorHint">@color/textColorHintAmoled</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:colorEdgeEffect">?attr/colorAccent</item>
|
|
|
|
<item name="background">@color/colorAmoledPrimary</item>
|
|
|
|
|
|
|
|
<item name="android:divider">@color/dividerAmoled</item>
|
|
|
|
<item name="android:listDivider">@drawable/line_divider</item>
|
|
|
|
|
|
|
|
<!-- Ripples -->
|
|
|
|
<item name="rippleColor">@color/rippleColorAmoled</item>
|
|
|
|
<item name="rippleSecondaryColor">@color/rippleSecondaryColorAmoled</item>
|
|
|
|
<item name="rippleToolbarColor">@color/rippleToolbarColorAmoled</item>
|
2021-05-27 00:11:14 +02:00
|
|
|
<item name="android:colorControlHighlight">@color/rippleColorAmoled</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
|
|
|
|
<!-- Themes -->
|
|
|
|
<item name="android:statusBarColor">?attr/colorPrimary</item>
|
|
|
|
<item name="android:navigationBarDividerColor" tools:targetApi="o_mr1">@null</item>
|
|
|
|
<item name="android:enforceNavigationBarContrast" tools:targetApi="Q">false</item>
|
|
|
|
<item name="windowActionModeOverlay">true</item>
|
|
|
|
<item name="elevationOverlayEnabled">false</item>
|
|
|
|
<item name="actionModeStyle">@style/Theme.ActionMode</item>
|
|
|
|
<item name="actionModeCloseButtonStyle">@style/Theme.ActionMode.CloseButton</item>
|
|
|
|
<item name="actionModeCloseDrawable">@drawable/ic_close_24dp</item>
|
|
|
|
<item name="actionBarTheme">@style/Theme.Toolbar.Custom.Amoled</item>
|
|
|
|
<item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents</item>
|
|
|
|
<item name="toolbarNavigationButtonStyle">@style/Theme.Toolbar.Navigation</item>
|
|
|
|
<item name="preferenceTheme">@style/PreferenceThemeCustom</item>
|
|
|
|
<item name="dialogTheme">@style/Theme.AlertDialog.Amoled</item>
|
|
|
|
<item name="materialAlertDialogTheme">@style/Theme.AlertDialog.Amoled</item>
|
|
|
|
<item name="bottomSheetDialogTheme">@style/Theme.BottomSheet</item>
|
|
|
|
<item name="chipStyle">@style/Theme.Widget.Chip</item>
|
|
|
|
<item name="buttonStyle">@style/Theme.Widget.Button</item>
|
|
|
|
<item name="snackbarStyle">@style/Theme.Widget.Snackbar</item>
|
|
|
|
<item name="snackbarButtonStyle">@style/Theme.Widget.Button</item>
|
|
|
|
<item name="snackbarTextViewStyle">@style/Theme.Widget.Snackbar.TextView</item>
|
|
|
|
<item name="textAppearanceButton">@style/TextAppearance.Widget.Button</item>
|
|
|
|
<item name="textInputStyle">@style/Theme.Widget.TextInputLayout.OutlinedBox</item>
|
|
|
|
<item name="android:itemTextAppearance">@style/TextAppearance.Widget.Menu</item>
|
|
|
|
<item name="swipeRefreshLayoutProgressSpinnerBackgroundColor">?attr/colorAccent</item>
|
|
|
|
<item name="circularProgressIndicatorStyle">@style/Theme.Widget.CircularProgressIndicator</item>
|
|
|
|
<item name="linearProgressIndicatorStyle">@style/Theme.Widget.LinearProgressIndicator</item>
|
|
|
|
|
|
|
|
<!-- 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>
|
2021-05-27 00:11:14 +02:00
|
|
|
<item name="md_ripple_color">?attr/rippleColor</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
<item name="md_button_casing">literal</item>
|
|
|
|
<item name="md_corner_radius">@dimen/dialog_radius</item>
|
|
|
|
|
|
|
|
<!-- Custom Attributes-->
|
|
|
|
<item name="colorLibrarySelection">@color/selectorColorAmoled</item>
|
|
|
|
<item name="colorLibrarySelectionActive">@color/selectorColorAmoled</item>
|
|
|
|
<item name="colorFilterActive">@color/filterColorAmoled</item>
|
2017-05-07 12:36:25 +02:00
|
|
|
|
2020-04-11 00:07:09 +02:00
|
|
|
<!-- Some ROMs make black navbars white (e.g. OxygenOS) -->
|
2021-04-15 15:55:39 +02:00
|
|
|
<item name="android:navigationBarColor">#000001</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
</style>
|
2020-01-08 00:46:31 +01:00
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!--== AMOLED theme ==-->
|
|
|
|
<style name="Theme.Tachiyomi.Amoled" parent="Theme.Base.Amoled" />
|
|
|
|
|
|
|
|
<!--== Hot Pink theme ==-->
|
|
|
|
<style name="Theme.Tachiyomi.Amoled.HotPink">
|
|
|
|
<!-- Theme colors -->
|
|
|
|
<item name="colorOnPrimary">@color/textColorPrimaryPink</item>
|
|
|
|
<item name="colorAccentOnPrimary">@color/colorAccentPink</item>
|
|
|
|
<item name="colorSecondary">@color/colorAccentPink</item>
|
|
|
|
<item name="colorOnSecondary">@color/textColorPrimaryPink</item>
|
2021-05-27 00:11:14 +02:00
|
|
|
<item name="colorTertiary">@color/md_blue_A400</item>
|
|
|
|
<item name="colorOnTertiary">@color/md_white_1000</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
<item name="colorOnSurface">@color/textColorPrimaryPink</item>
|
|
|
|
<item name="colorOnBackground">@color/textColorPrimaryPink</item>
|
|
|
|
<item name="colorAccent">@color/colorAccentPink</item>
|
|
|
|
|
|
|
|
<!-- Ripples -->
|
|
|
|
<item name="rippleSecondaryColor">@color/rippleSecondaryColorPink</item>
|
2021-05-27 00:11:14 +02:00
|
|
|
|
|
|
|
<!-- Themes -->
|
|
|
|
<item name="materialAlertDialogTheme">@style/Theme.AlertDialog.Amoled.HotPink</item>
|
2017-05-07 12:36:25 +02:00
|
|
|
</style>
|
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!--===============-->
|
|
|
|
<!-- Reader Themes -->
|
|
|
|
<!--===============-->
|
|
|
|
|
|
|
|
<!--== Light Reader base ==-->
|
|
|
|
<style name="Theme.Base.Reader.Light" parent="Theme.Base">
|
|
|
|
<!-- Theme colors -->
|
2020-02-10 04:59:03 +01:00
|
|
|
<item name="colorPrimary">@color/readerColorDarkPrimary</item>
|
2020-03-15 21:46:38 +01:00
|
|
|
<item name="colorOnPrimary">@color/textColorPrimaryDark</item>
|
2020-04-18 00:32:27 +02:00
|
|
|
<item name="colorPrimaryVariant">@color/readerColorDarkPrimary</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
<item name="colorSurface">@color/md_white_1000</item>
|
2020-01-08 00:46:31 +01:00
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!-- Base background/text colors -->
|
|
|
|
<item name="android:colorBackground">@color/md_white_1000</item>
|
2020-04-18 00:32:27 +02:00
|
|
|
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
|
|
|
|
<item name="android:navigationBarColor">?attr/colorPrimaryVariant</item>
|
2020-03-14 18:18:34 +01:00
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!-- Themes -->
|
2021-05-23 20:29:59 +02:00
|
|
|
<item name="actionBarTheme">@style/Theme.Toolbar.Custom.Dark</item>
|
2020-03-14 18:18:34 +01:00
|
|
|
<item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents</item>
|
2020-04-11 17:29:55 +02:00
|
|
|
<item name="switchStyle">@style/Theme.Widget.BasicSwitch</item>
|
2021-02-02 04:23:29 +01:00
|
|
|
<item name="bottomSheetDialogTheme">@style/Theme.BottomSheet</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
</style>
|
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!--== Light Reader ==-->
|
|
|
|
<style name="Theme.Reader.Light" parent="Theme.Base.Reader.Light" />
|
|
|
|
|
|
|
|
<!--== Dark Reader base ==-->
|
|
|
|
<style name="Theme.Base.Reader.Dark" parent="Theme.Base.Dark">
|
|
|
|
<!-- Theme colors -->
|
2020-02-10 04:59:03 +01:00
|
|
|
<item name="colorPrimary">@color/readerColorDarkPrimary</item>
|
2020-03-15 21:46:38 +01:00
|
|
|
<item name="colorOnPrimary">@color/textColorPrimaryDark</item>
|
2020-04-18 00:32:27 +02:00
|
|
|
<item name="colorPrimaryVariant">@color/readerColorDarkPrimary</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
<item name="colorSurface">@color/md_black_1000</item>
|
2020-01-08 00:46:31 +01:00
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!-- Base background/text colors -->
|
|
|
|
<item name="android:colorBackground">@color/md_black_1000</item>
|
2020-04-18 00:32:27 +02:00
|
|
|
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
|
|
|
|
<item name="android:navigationBarColor">?attr/colorPrimaryVariant</item>
|
2020-03-14 18:18:34 +01:00
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!-- Themes -->
|
2021-05-23 20:29:59 +02:00
|
|
|
<item name="actionBarTheme">@style/Theme.Toolbar.Custom.Dark</item>
|
2020-03-14 18:18:34 +01:00
|
|
|
<item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents</item>
|
2020-04-11 17:29:55 +02:00
|
|
|
<item name="switchStyle">@style/Theme.Widget.BasicSwitch</item>
|
2021-02-02 04:23:29 +01:00
|
|
|
<item name="bottomSheetDialogTheme">@style/Theme.BottomSheet</item>
|
2018-09-01 17:12:59 +02:00
|
|
|
</style>
|
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!--== Dark Reader ==-->
|
2020-05-02 03:40:36 +02:00
|
|
|
<style name="Theme.Reader.Dark" parent="Theme.Base.Reader.Dark" />
|
2018-09-01 17:12:59 +02:00
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!--== Dark Grey Reader ==-->
|
2020-05-02 03:40:36 +02:00
|
|
|
<style name="Theme.Reader.Dark.Grey" parent="Theme.Base.Reader.Dark">
|
2021-05-25 23:34:20 +02:00
|
|
|
<!-- Theme colors -->
|
|
|
|
<item name="colorSurface">@color/backgroundDark</item>
|
|
|
|
|
|
|
|
<!-- Base background/text colors -->
|
2020-05-02 03:40:36 +02:00
|
|
|
<item name="android:colorBackground">@color/backgroundDark</item>
|
2016-06-27 16:46:31 +02:00
|
|
|
</style>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<!--===============-->
|
|
|
|
<!-- Launch Screen -->
|
|
|
|
<!--===============-->
|
2021-05-24 17:16:32 +02:00
|
|
|
|
|
|
|
<!--== Splash theme ==-->
|
2021-04-18 17:29:56 +02:00
|
|
|
<style name="Theme.Splash" parent="Theme.Tachiyomi.Light.Blue">
|
2021-05-24 17:16:32 +02:00
|
|
|
<!-- Theme colors -->
|
2020-02-19 04:13:45 +01:00
|
|
|
<item name="colorBackgroundSplash">@color/colorPrimary</item>
|
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!-- Base background/text colors -->
|
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>
|