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 base ==-->
|
2021-06-19 21:45:16 +02:00
|
|
|
<style name="Theme.Base.Light" parent="Theme.MaterialComponents.Light.NoActionBar">
|
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 -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="colorPrimary">@color/accent_light</item>
|
|
|
|
<item name="colorPrimaryVariant">?attr/colorPrimary</item>
|
|
|
|
<item name="colorOnPrimary">@color/md_white_1000</item>
|
|
|
|
<item name="colorSecondary">?attr/colorPrimary</item>
|
|
|
|
<item name="colorSecondaryVariant">?attr/colorPrimaryVariant</item>
|
|
|
|
<item name="colorOnSecondary">?attr/colorOnPrimary</item>
|
2021-05-27 00:11:14 +02:00
|
|
|
<item name="colorTertiary">@color/green</item>
|
|
|
|
<item name="colorOnTertiary">@color/md_white_1000</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="colorToolbar">?attr/colorSurface</item>
|
|
|
|
<item name="colorOnToolbar">?attr/colorOnSurface</item>
|
|
|
|
<item name="colorSurface">@color/surface_light</item>
|
|
|
|
<item name="android:colorBackground">@color/background_light</item>
|
|
|
|
<item name="android:divider">@color/divider_light</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 -->
|
2021-06-20 17:05:37 +02:00
|
|
|
<item name="colorControlHighlight">@color/ripple_colored_light</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="rippleColorToolbar">?attr/colorControlHighlight</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>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="android:itemTextAppearance">@style/TextAppearance.Widget.Menu</item>
|
|
|
|
<item name="android:backgroundDimAmount">0.32</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
<item name="windowActionModeOverlay">true</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="actionModeStyle">@style/Widget.Tachiyomi.ActionMode</item>
|
|
|
|
<item name="actionOverflowButtonStyle">@style/Theme.Tachiyomi.ActionButton.Overflow</item>
|
|
|
|
<item name="actionModeCloseButtonStyle">@style/Theme.Tachiyomi.ActionMode.CloseButton</item>
|
2020-08-22 18:36:29 +02:00
|
|
|
<item name="actionModeCloseDrawable">@drawable/ic_close_24dp</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="actionBarTheme">@style/ThemeOverlay.Tachiyomi.ActionBar</item>
|
|
|
|
<item name="toolbarNavigationButtonStyle">@style/Widget.Tachiyomi.Toolbar.Button.Navigation</item>
|
|
|
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
|
|
|
|
<item name="bottomSheetDialogTheme">@style/ThemeOverlay.Tachiyomi.BottomSheetDialog</item>
|
|
|
|
<item name="chipStyle">@style/Widget.Tachiyomi.Chip.Action</item>
|
|
|
|
<item name="snackbarStyle">@style/Widget.Tachiyomi.Snackbar</item>
|
|
|
|
<item name="snackbarTextViewStyle">@style/Widget.Tachiyomi.Snackbar.TextView</item>
|
|
|
|
<item name="textInputStyle">@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox</item>
|
|
|
|
<item name="appBarLayoutStyle">@style/Widget.MaterialComponents.AppBarLayout.Surface</item>
|
|
|
|
<item name="toolbarStyle">@style/Widget.MaterialComponents.Toolbar.Surface</item>
|
|
|
|
<item name="tabStyle">@style/Widget.Tachiyomi.TabLayout</item>
|
|
|
|
<item name="bottomNavigationStyle">@style/Widget.MaterialComponents.BottomNavigationView</item>
|
2021-06-20 17:05:37 +02:00
|
|
|
<item name="navigationRailStyle">@style/Widget.MaterialComponents.NavigationRailView</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
|
|
|
|
<!-- Text Appearances -->
|
2020-03-12 23:58:21 +01:00
|
|
|
<item name="textAppearanceButton">@style/TextAppearance.Widget.Button</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>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="md_color_button_text">?attr/colorPrimary</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-->
|
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-06-19 21:45:16 +02:00
|
|
|
<style name="Base.Theme.Tachiyomi.Light" parent="Theme.Base.Light">
|
2021-05-24 17:16:32 +02:00
|
|
|
<!-- Base background/text colors -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="android:statusBarColor">?attr/colorSurface</item>
|
2021-04-19 21:29:00 +02:00
|
|
|
<item name="android:windowLightStatusBar">true</item>
|
|
|
|
</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 -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="colorPrimary">@color/accent_lightblue</item>
|
2021-04-18 17:29:56 +02:00
|
|
|
<item name="colorFilterActive">@color/filterColorDark</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="colorToolbar">?attr/colorPrimary</item>
|
|
|
|
<item name="colorOnToolbar">?attr/colorOnPrimary</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
|
|
|
|
<!-- Base background/text colors -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="background">@color/accent_lightblue</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
|
|
|
|
<!-- Ripples -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="colorControlHighlight">@color/ripple_colored_lightblue</item>
|
|
|
|
<item name="rippleColorToolbar">@color/md_white_1000_12</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
|
|
|
|
<!-- Themes -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="actionModeStyle">@style/Widget.Tachiyomi.ActionMode</item>
|
|
|
|
<item name="toolbarNavigationButtonStyle">@style/Widget.Tachiyomi.Toolbar.Button.Navigation</item>
|
|
|
|
<item name="appBarLayoutStyle">@style/Widget.MaterialComponents.AppBarLayout.Primary</item>
|
|
|
|
<item name="toolbarStyle">@style/Widget.Tachiyomi.Toolbar.Primary</item>
|
|
|
|
<item name="tabStyle">@style/Widget.Tachiyomi.TabLayout.Colored</item>
|
|
|
|
<item name="bottomNavigationStyle">@style/Widget.MaterialComponents.BottomNavigationView.Colored</item>
|
2021-06-20 17:05:37 +02:00
|
|
|
<item name="navigationRailStyle">@style/Widget.MaterialComponents.NavigationRailView.Colored</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
|
|
|
|
<!-- 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>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="android:statusBarColor">?attr/colorPrimary</item>
|
|
|
|
<item name="android:navigationBarColor">?attr/colorPrimary</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 -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="colorPrimary">@color/accent_strawberry</item>
|
2021-05-27 00:11:14 +02:00
|
|
|
<item name="colorTertiary">@color/md_blue_A400</item>
|
2021-06-20 17:05:37 +02:00
|
|
|
<item name="colorControlHighlight">@color/ripple_colored_strawberry</item>
|
2021-05-24 22:02:45 +02:00
|
|
|
</style>
|
|
|
|
|
2021-06-12 15:45:49 +02:00
|
|
|
<!--== Yotsuba theme ==-->
|
|
|
|
<style name="Theme.Tachiyomi.Light.Yotsuba">
|
|
|
|
<!-- Theme colors -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="colorPrimary">@color/accent_yotsuba</item>
|
2021-06-12 15:45:49 +02:00
|
|
|
<item name="colorTertiary">@color/md_blue_A400</item>
|
2021-06-20 17:05:37 +02:00
|
|
|
<item name="colorControlHighlight">@color/ripple_colored_yotsuba</item>
|
2021-06-12 15:45:49 +02:00
|
|
|
</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">
|
2021-06-19 21:45:16 +02:00
|
|
|
<!-- Disallow 'Force dark theme' -->
|
|
|
|
<item name="android:forceDarkAllowed" tools:targetApi="Q">false</item>
|
|
|
|
|
2020-03-12 00:08:57 +01:00
|
|
|
<!-- Theme colors -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="colorPrimary">@color/accent_dark</item>
|
|
|
|
<item name="colorPrimaryVariant">?attr/colorPrimary</item>
|
|
|
|
<item name="colorOnPrimary">@color/md_white_1000</item>
|
|
|
|
<item name="colorSecondary">?attr/colorPrimary</item>
|
|
|
|
<item name="colorSecondaryVariant">?attr/colorPrimaryVariant</item>
|
|
|
|
<item name="colorOnSecondary">?attr/colorOnPrimary</item>
|
2021-05-27 00:11:14 +02:00
|
|
|
<item name="colorTertiary">@color/green</item>
|
|
|
|
<item name="colorOnTertiary">@color/md_white_1000</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="colorToolbar">?attr/colorSurface</item>
|
|
|
|
<item name="colorOnToolbar">?attr/colorOnSurface</item>
|
|
|
|
<item name="colorSurface">@color/surface_dark</item>
|
|
|
|
<item name="android:colorBackground">@color/background_dark</item>
|
|
|
|
<item name="android:divider">@color/divider_dark</item>
|
|
|
|
<item name="android:listDivider">@drawable/line_divider</item>
|
|
|
|
|
|
|
|
<!-- Ripples -->
|
2021-06-20 17:05:37 +02:00
|
|
|
<item name="colorControlHighlight">@color/ripple_colored_dark</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="rippleColorToolbar">?attr/colorControlHighlight</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>
|
|
|
|
|
2016-03-12 14:22:40 +01:00
|
|
|
<!-- Themes -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="android:statusBarColor">@color/md_black_1000</item>
|
|
|
|
<item name="android:navigationBarColor">@color/md_black_1000</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>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="android:itemTextAppearance">@style/TextAppearance.Widget.Menu</item>
|
|
|
|
<item name="android:backgroundDimAmount">0.32</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
<item name="windowActionModeOverlay">true</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="actionModeStyle">@style/Widget.Tachiyomi.ActionMode</item>
|
|
|
|
<item name="actionOverflowButtonStyle">@style/Theme.Tachiyomi.ActionButton.Overflow</item>
|
|
|
|
<item name="actionModeCloseButtonStyle">@style/Theme.Tachiyomi.ActionMode.CloseButton</item>
|
2020-08-22 18:36:29 +02:00
|
|
|
<item name="actionModeCloseDrawable">@drawable/ic_close_24dp</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="actionBarTheme">@style/ThemeOverlay.Tachiyomi.ActionBar</item>
|
|
|
|
<item name="toolbarNavigationButtonStyle">@style/Widget.Tachiyomi.Toolbar.Button.Navigation</item>
|
|
|
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
|
|
|
|
<item name="bottomSheetDialogTheme">@style/ThemeOverlay.Tachiyomi.BottomSheetDialog</item>
|
|
|
|
<item name="chipStyle">@style/Widget.Tachiyomi.Chip.Action</item>
|
|
|
|
<item name="snackbarStyle">@style/Widget.Tachiyomi.Snackbar</item>
|
|
|
|
<item name="snackbarTextViewStyle">@style/Widget.Tachiyomi.Snackbar.TextView</item>
|
|
|
|
<item name="textInputStyle">@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox</item>
|
|
|
|
<item name="appBarLayoutStyle">@style/Widget.MaterialComponents.AppBarLayout.Surface</item>
|
|
|
|
<item name="toolbarStyle">@style/Widget.MaterialComponents.Toolbar.Surface</item>
|
|
|
|
<item name="tabStyle">@style/Widget.Tachiyomi.TabLayout</item>
|
|
|
|
<item name="bottomNavigationStyle">@style/Widget.MaterialComponents.BottomNavigationView</item>
|
2021-06-20 17:05:37 +02:00
|
|
|
<item name="navigationRailStyle">@style/Widget.MaterialComponents.NavigationRailView</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="elevationOverlayEnabled">false</item>
|
|
|
|
|
|
|
|
<!-- Text Appearances -->
|
2020-03-12 23:58:21 +01:00
|
|
|
<item name="textAppearanceButton">@style/TextAppearance.Widget.Button</item>
|
|
|
|
|
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>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="md_color_button_text">?attr/colorPrimary</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-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-06-19 21:45:16 +02:00
|
|
|
<style name="Theme.Tachiyomi.Dark" parent="Theme.Base.Dark">
|
|
|
|
<item name="android:statusBarColor">?attr/colorSurface</item>
|
|
|
|
<item name="android:navigationBarColor">?attr/colorSurface</item>
|
|
|
|
</style>
|
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 -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="colorPrimary">@color/accent_darkblue</item>
|
|
|
|
<item name="colorToolbar">?attr/colorPrimary</item>
|
|
|
|
<item name="colorOnToolbar">?attr/colorOnPrimary</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
|
|
|
|
<!-- Ripples -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="colorControlHighlight">@color/ripple_colored_darkblue</item>
|
|
|
|
<item name="rippleColorToolbar">@color/md_white_1000_12</item>
|
|
|
|
|
|
|
|
<!-- Themes -->
|
|
|
|
<item name="actionModeStyle">@style/Widget.Tachiyomi.ActionMode</item>
|
|
|
|
<item name="toolbarNavigationButtonStyle">@style/Widget.Tachiyomi.Toolbar.Button.Navigation</item>
|
|
|
|
<item name="appBarLayoutStyle">@style/Widget.MaterialComponents.AppBarLayout.Primary</item>
|
|
|
|
<item name="toolbarStyle">@style/Widget.Tachiyomi.Toolbar.Primary</item>
|
|
|
|
<item name="tabStyle">@style/Widget.Tachiyomi.TabLayout.Colored</item>
|
|
|
|
<item name="bottomNavigationStyle">@style/Widget.MaterialComponents.BottomNavigationView.Colored</item>
|
2021-06-20 17:05:37 +02:00
|
|
|
<item name="navigationRailStyle">@style/Widget.MaterialComponents.NavigationRailView.Colored</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
|
|
|
|
<!-- Status/Navigation bar -->
|
|
|
|
<item name="android:statusBarColor">?attr/colorPrimary</item>
|
|
|
|
<item name="android:navigationBarColor">?attr/colorPrimary</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 -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="colorPrimary">@color/accent_greenapple</item>
|
|
|
|
<item name="colorOnPrimary">@color/md_black_1000</item>
|
2021-05-27 00:11:14 +02:00
|
|
|
<item name="colorTertiary">@color/md_blue_A400</item>
|
2021-06-20 17:05:37 +02:00
|
|
|
<item name="colorControlHighlight">@color/ripple_colored_greenapple</item>
|
2021-05-25 14:26:17 +02:00
|
|
|
</style>
|
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!--== Midnight Dusk theme ==-->
|
2021-06-19 21:45:16 +02:00
|
|
|
<style name="Theme.Tachiyomi.Dark.MidnightDusk">
|
2021-05-24 17:16:32 +02:00
|
|
|
<!-- Theme colors -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="colorPrimary">@color/accent_midnightdusk</item>
|
2021-05-27 00:11:14 +02:00
|
|
|
<item name="colorTertiary">@color/md_blue_A400</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="colorSurface">@color/surface_midnightdusk</item>
|
|
|
|
<item name="android:colorBackground">@color/background_midnightdusk</item>
|
2021-06-20 17:05:37 +02:00
|
|
|
<item name="colorControlHighlight">@color/ripple_colored_midnightdusk</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<!--===============-->
|
|
|
|
<!-- AMOLED Themes -->
|
|
|
|
<!--===============-->
|
|
|
|
|
|
|
|
<!--== AMOLED base ==-->
|
|
|
|
<style name="Theme.Base.Amoled" parent="Theme.MaterialComponents.NoActionBar">
|
2021-06-19 21:45:16 +02:00
|
|
|
<!-- Disallow 'Force dark theme' -->
|
|
|
|
<item name="android:forceDarkAllowed" tools:targetApi="Q">false</item>
|
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!-- Theme colors -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="colorPrimary">@color/accent_amoled</item>
|
|
|
|
<item name="colorPrimaryVariant">?attr/colorPrimary</item>
|
|
|
|
<item name="colorOnPrimary">@color/md_white_1000</item>
|
|
|
|
<item name="colorSecondary">?attr/colorPrimary</item>
|
|
|
|
<item name="colorSecondaryVariant">?attr/colorPrimaryVariant</item>
|
|
|
|
<item name="colorOnSecondary">?attr/colorOnPrimary</item>
|
|
|
|
<item name="colorTertiary">@color/green</item>
|
|
|
|
<item name="colorOnTertiary">@color/md_white_1000</item>
|
|
|
|
<item name="colorToolbar">?attr/colorSurface</item>
|
|
|
|
<item name="colorOnToolbar">?attr/colorOnSurface</item>
|
|
|
|
<item name="colorSurface">@color/surface_amoled</item>
|
|
|
|
<item name="android:colorBackground">@color/background_amoled</item>
|
|
|
|
<item name="android:divider">@color/divider_amoled</item>
|
|
|
|
<item name="android:listDivider">@drawable/line_divider</item>
|
|
|
|
|
|
|
|
<!-- Ripples -->
|
2021-06-20 17:05:37 +02:00
|
|
|
<item name="colorControlHighlight">@color/ripple_colored_amoled</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="rippleColorToolbar">?attr/colorControlHighlight</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
|
|
|
|
<!-- 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
|
|
|
<!-- Themes -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="android:statusBarColor">?attr/colorSurface</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
<item name="android:navigationBarDividerColor" tools:targetApi="o_mr1">@null</item>
|
|
|
|
<item name="android:enforceNavigationBarContrast" tools:targetApi="Q">false</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="android:itemTextAppearance">@style/TextAppearance.Widget.Menu</item>
|
|
|
|
<item name="android:backgroundDimAmount">0.32</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
<item name="windowActionModeOverlay">true</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="actionModeStyle">@style/Widget.Tachiyomi.ActionMode</item>
|
|
|
|
<item name="actionOverflowButtonStyle">@style/Theme.Tachiyomi.ActionButton.Overflow</item>
|
|
|
|
<item name="actionModeCloseButtonStyle">@style/Theme.Tachiyomi.ActionMode.CloseButton</item>
|
2021-05-24 17:16:32 +02:00
|
|
|
<item name="actionModeCloseDrawable">@drawable/ic_close_24dp</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="actionBarTheme">@style/ThemeOverlay.Tachiyomi.ActionBar</item>
|
|
|
|
<item name="toolbarNavigationButtonStyle">@style/Widget.Tachiyomi.Toolbar.Button.Navigation</item>
|
|
|
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
|
|
|
|
<item name="bottomSheetDialogTheme">@style/ThemeOverlay.Tachiyomi.BottomSheetDialog</item>
|
|
|
|
<item name="chipStyle">@style/Widget.Tachiyomi.Chip.Action</item>
|
|
|
|
<item name="snackbarStyle">@style/Widget.Tachiyomi.Snackbar</item>
|
|
|
|
<item name="snackbarTextViewStyle">@style/Widget.Tachiyomi.Snackbar.TextView</item>
|
|
|
|
<item name="textInputStyle">@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox</item>
|
|
|
|
<item name="appBarLayoutStyle">@style/Widget.MaterialComponents.AppBarLayout.Surface</item>
|
|
|
|
<item name="toolbarStyle">@style/Widget.MaterialComponents.Toolbar.Surface</item>
|
|
|
|
<item name="tabStyle">@style/Widget.Tachiyomi.TabLayout</item>
|
|
|
|
<item name="bottomNavigationStyle">@style/Widget.MaterialComponents.BottomNavigationView</item>
|
2021-06-20 17:05:37 +02:00
|
|
|
<item name="navigationRailStyle">@style/Widget.MaterialComponents.NavigationRailView</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="elevationOverlayEnabled">false</item>
|
|
|
|
|
|
|
|
<!-- Some ROMs make black navbars white (e.g. OxygenOS) -->
|
|
|
|
<item name="android:navigationBarColor">#000001</item>
|
|
|
|
|
|
|
|
<!-- Text Appearances -->
|
2021-05-24 17:16:32 +02:00
|
|
|
<item name="textAppearanceButton">@style/TextAppearance.Widget.Button</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>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="md_color_button_text">?attr/colorPrimary</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="colorFilterActive">@color/filterColorAmoled</item>
|
|
|
|
</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 -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="colorPrimary">@color/accent_hotpink</item>
|
2021-05-27 00:11:14 +02:00
|
|
|
<item name="colorTertiary">@color/md_blue_A400</item>
|
2021-06-20 17:05:37 +02:00
|
|
|
<item name="colorControlHighlight">@color/ripple_colored_hotpink</item>
|
2017-05-07 12:36:25 +02:00
|
|
|
</style>
|
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!--===============-->
|
|
|
|
<!-- Reader Themes -->
|
|
|
|
<!--===============-->
|
|
|
|
|
|
|
|
<!--== Light Reader base ==-->
|
2021-06-19 21:45:16 +02:00
|
|
|
<style name="Theme.Base.Reader.Light" parent="Theme.Base.Light">
|
2021-05-24 17:16:32 +02:00
|
|
|
<!-- Theme colors -->
|
|
|
|
<item name="colorSurface">@color/md_white_1000</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="colorToolbar">@color/reader_toolbar</item>
|
|
|
|
<item name="colorOnToolbar">@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>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="android:statusBarColor">?attr/colorToolbar</item>
|
|
|
|
<item name="android:navigationBarColor">?attr/colorToolbar</item>
|
2020-03-14 18:18:34 +01:00
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!-- Themes -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="toolbarStyle">@style/Widget.Tachiyomi.Toolbar.Primary</item>
|
|
|
|
<item name="switchStyle">@style/Widget.Tachiyomi.BasicSwitch</item>
|
|
|
|
<item name="bottomSheetDialogTheme">@style/ThemeOverlay.Tachiyomi.BottomSheetDialog</item>
|
|
|
|
<item name="android:alertDialogTheme">@style/ThemeOverlay.Tachiyomi.MaterialAlertDialog</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 -->
|
|
|
|
<item name="colorSurface">@color/md_black_1000</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="colorToolbar">@color/reader_toolbar</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>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="android:statusBarColor">?attr/colorToolbar</item>
|
|
|
|
<item name="android:navigationBarColor">?attr/colorToolbar</item>
|
2020-03-14 18:18:34 +01:00
|
|
|
|
2021-05-24 17:16:32 +02:00
|
|
|
<!-- Themes -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="switchStyle">@style/Widget.Tachiyomi.BasicSwitch</item>
|
|
|
|
<item name="bottomSheetDialogTheme">@style/ThemeOverlay.Tachiyomi.BottomSheetDialog</item>
|
|
|
|
<item name="android:alertDialogTheme">@style/ThemeOverlay.Tachiyomi.MaterialAlertDialog</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 -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="colorSurface">@color/background_dark</item>
|
2021-05-25 23:34:20 +02:00
|
|
|
|
|
|
|
<!-- Base background/text colors -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="android:colorBackground">@color/background_dark</item>
|
2021-06-19 18:34:23 +02:00
|
|
|
|
|
|
|
<!-- Alert Dialog -->
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="android:alertDialogTheme">@style/ThemeOverlay.Tachiyomi.MaterialAlertDialog</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">
|
2020-01-09 04:38:19 +01:00
|
|
|
<item name="android:windowBackground">@drawable/splash_background</item>
|
2021-06-19 21:45:16 +02:00
|
|
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
|
|
|
<item name="android:navigationBarColor">@android:color/transparent</item>
|
2016-03-12 14:22:40 +01:00
|
|
|
</style>
|
|
|
|
|
2018-09-01 17:12:59 +02:00
|
|
|
</resources>
|