mihon/app/src/main/res/values/themes.xml

315 lines
20 KiB
XML
Raw Normal View History

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 -->
<!--============-->
<!--== Theme Base ==-->
<style name="Base.Theme.Tachiyomi" parent="Theme.Material3.DayNight.NoActionBar">
2021-07-04 17:51:15 -04:00
<!-- Disallow "Force dark theme" -->
<item name="android:forceDarkAllowed" tools:targetApi="Q">false</item>
<!-- Theme Colors -->
<item name="colorPrimary">@color/tachiyomi_primary</item>
<item name="colorOnPrimary">@color/tachiyomi_onPrimary</item>
<item name="colorPrimaryContainer">@color/tachiyomi_primaryContainer</item>
<item name="colorOnPrimaryContainer">@color/tachiyomi_onPrimaryContainer</item>
<item name="colorSecondary">@color/tachiyomi_secondary</item>
<item name="colorOnSecondary">@color/tachiyomi_onSecondary</item>
<item name="colorSecondaryContainer">@color/tachiyomi_secondaryContainer</item>
<item name="colorOnSecondaryContainer">@color/tachiyomi_onSecondaryContainer</item>
<item name="colorTertiary">@color/tachiyomi_tertiary</item>
<item name="colorOnTertiary">@color/tachiyomi_onTertiary</item>
<item name="colorTertiaryContainer">@color/tachiyomi_tertiaryContainer</item>
<item name="colorOnTertiaryContainer">@color/tachiyomi_onTertiaryContainer</item>
<item name="android:colorBackground">@color/tachiyomi_background</item>
<item name="colorOnBackground">@color/tachiyomi_onBackground</item>
<item name="colorSurface">@color/tachiyomi_surface</item>
<item name="colorOnSurface">@color/tachiyomi_onSurface</item>
<item name="colorSurfaceVariant">@color/tachiyomi_surfaceVariant</item>
<item name="colorOnSurfaceVariant">@color/tachiyomi_onSurfaceVariant</item>
<item name="colorOutline">@color/tachiyomi_outline</item>
<item name="colorOnSurfaceInverse">@color/tachiyomi_inverseOnSurface</item>
<item name="colorSurfaceInverse">@color/tachiyomi_inverseSurface</item>
<item name="colorPrimaryInverse">@color/tachiyomi_primaryInverse</item>
<item name="colorError">@color/error</item>
<item name="colorOnError">@color/onError</item>
<item name="colorErrorContainer">@color/errorContainer</item>
<item name="colorOnErrorContainer">@color/onErrorContainer</item>
<item name="colorToolbar">?attr/colorSurface</item>
<item name="colorOnToolbar">?attr/colorOnSurface</item>
<item name="android:divider">@color/divider_default</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
<!-- Ripples -->
<item name="colorControlHighlight">?attr/colorSurfaceVariant</item>
<item name="rippleColorToolbar">?attr/colorControlHighlight</item>
<!-- Handles RTL Text -->
<item name="android:textAlignment">gravity</item>
<item name="android:textDirection">locale</item>
2016-03-12 08:22:40 -05:00
<!-- Themes -->
<item name="android:windowLightStatusBar">@bool/lightStatusBar</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:navigationBarColor">@color/surface_amoled</item>
2021-04-18 11:29:56 -04:00
<item name="android:navigationBarDividerColor" tools:targetApi="o_mr1">@null</item>
<item name="android:enforceNavigationBarContrast" tools:targetApi="Q">false</item>
<item name="android:enforceStatusBarContrast" tools:targetApi="Q">false</item>
<item name="android:itemTextAppearance">@style/TextAppearance.Widget.Menu</item>
<item name="android:alertDialogTheme">@style/ThemeOverlay.Tachiyomi.MaterialAlertDialog</item>
2021-07-04 17:51:15 -04:00
<item name="textAppearanceButton">@style/TextAppearance.Widget.Button</item>
<item name="android:buttonStyle">?attr/borderlessButtonStyle</item>
<item name="android:backgroundDimAmount">0.32</item>
2016-03-12 08:22:40 -05:00
<item name="windowActionModeOverlay">true</item>
<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 12:36:29 -04:00
<item name="actionModeCloseDrawable">@drawable/ic_close_24dp</item>
<item name="actionBarTheme">@style/ThemeOverlay.Tachiyomi.ActionBar</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay.Tachiyomi</item>
<item name="bottomSheetDialogTheme">@style/ThemeOverlay.Tachiyomi.BottomSheetDialog</item>
<item name="chipStyle">@style/Widget.Tachiyomi.Chip.Action</item>
<item name="chipTextColor">?android:attr/textColorPrimary</item>
<item name="chipBackgroundColor">?android:attr/divider</item>
<item name="textInputStyle">@style/Widget.Material3.TextInputLayout.OutlinedBox</item>
<item name="appBarLayoutStyle">@style/Widget.Material3.AppBarLayout</item>
<item name="toolbarStyle">@style/Widget.Material3.Toolbar.Surface</item>
<item name="tabStyle">@style/Widget.Tachiyomi.TabLayout</item>
<item name="bottomNavigationStyle">@style/Widget.Tachiyomi.BottomNavigationView</item>
<item name="navigationRailStyle">@style/Widget.Tachiyomi.NavigationRailView</item>
<item name="switchStyle">@style/Widget.Tachiyomi.Switch</item>
2021-10-09 10:44:08 -04:00
<item name="sliderStyle">@style/Widget.Tachiyomi.Slider</item>
2021-11-15 10:11:47 -05:00
<item name="materialCardViewStyle">@style/Widget.Material3.CardView.Elevated</item>
<item name="lightSystemBarsOnPrimary">false</item>
2016-03-12 08:22:40 -05:00
<!-- Custom Attributes-->
2021-07-04 17:51:15 -04:00
<item name="colorFilterActive">@color/filter_light</item>
<!-- Preference text appearance -->
2021-11-14 10:23:44 -05:00
<item name="android:textAppearanceListItem">?attr/textAppearanceBodyLarge</item>
<item name="android:textAppearanceListItemSecondary">@style/TextAppearance.Tachiyomi.Preference.Secondary</item>
2016-03-12 08:22:40 -05:00
</style>
<!--== Default Theme ==-->
<style name="Theme.Tachiyomi" parent="Base.Theme.Tachiyomi" />
2020-03-14 13:18:34 -04:00
<!-- Monet theme only support S+ -->
<style name="Theme.Tachiyomi.Monet" />
<!--== Green Apple Theme ==-->
<style name="Theme.Tachiyomi.GreenApple">
<!-- Theme Colors -->
<item name="colorPrimary">@color/greenapple_primary</item>
<item name="colorOnPrimary">@color/greenapple_onPrimary</item>
<item name="colorPrimaryContainer">@color/greenapple_primaryContainer</item>
<item name="colorOnPrimaryContainer">@color/greenapple_onPrimaryContainer</item>
<item name="colorSecondary">@color/greenapple_secondary</item>
<item name="colorOnSecondary">@color/greenapple_onSecondary</item>
<item name="colorSecondaryContainer">@color/greenapple_secondaryContainer</item>
<item name="colorOnSecondaryContainer">@color/greenapple_onSecondaryContainer</item>
<item name="colorTertiary">@color/greenapple_tertiary</item>
<item name="colorOnTertiary">@color/greenapple_onTertiary</item>
<item name="colorTertiaryContainer">@color/greenapple_tertiaryContainer</item>
<item name="colorOnTertiaryContainer">@color/greenapple_onTertiaryContainer</item>
<item name="android:colorBackground">@color/greenapple_background</item>
<item name="colorOnBackground">@color/greenapple_onBackground</item>
<item name="colorSurface">@color/greenapple_surface</item>
<item name="colorOnSurface">@color/greenapple_onSurface</item>
<item name="colorSurfaceVariant">@color/greenapple_surfaceVariant</item>
<item name="colorOnSurfaceVariant">@color/greenapple_onSurfaceVariant</item>
<item name="colorOutline">@color/greenapple_outline</item>
<item name="colorOnSurfaceInverse">@color/greenapple_inverseOnSurface</item>
<item name="colorSurfaceInverse">@color/greenapple_inverseSurface</item>
<item name="colorPrimaryInverse">@color/greenapple_primaryInverse</item>
<item name="lightSystemBarsOnPrimary">true</item>
</style>
<!--== Midnight Dusk Theme ==-->
<style name="Theme.Tachiyomi.MidnightDusk">
<!-- Theme Colors -->
<item name="colorPrimary">@color/midnightdusk_primary</item>
<item name="colorOnPrimary">@color/midnightdusk_onPrimary</item>
<item name="colorPrimaryContainer">@color/midnightdusk_primaryContainer</item>
<item name="colorOnPrimaryContainer">@color/midnightdusk_onPrimaryContainer</item>
<item name="colorSecondary">@color/midnightdusk_secondary</item>
<item name="colorOnSecondary">@color/midnightdusk_onSecondary</item>
<item name="colorSecondaryContainer">@color/midnightdusk_secondaryContainer</item>
<item name="colorOnSecondaryContainer">@color/midnightdusk_onSecondaryContainer</item>
<item name="colorTertiary">@color/midnightdusk_tertiary</item>
<item name="colorOnTertiary">@color/midnightdusk_onTertiary</item>
<item name="colorTertiaryContainer">@color/midnightdusk_tertiaryContainer</item>
<item name="colorOnTertiaryContainer">@color/midnightdusk_onTertiaryContainer</item>
<item name="android:colorBackground">@color/midnightdusk_background</item>
<item name="colorOnBackground">@color/midnightdusk_onBackground</item>
<item name="colorSurface">@color/midnightdusk_surface</item>
<item name="colorOnSurface">@color/midnightdusk_onSurface</item>
<item name="colorSurfaceVariant">@color/midnightdusk_surfaceVariant</item>
<item name="colorOnSurfaceVariant">@color/midnightdusk_onSurfaceVariant</item>
<item name="colorOutline">@color/midnightdusk_outline</item>
<item name="colorOnSurfaceInverse">@color/midnightdusk_inverseOnSurface</item>
<item name="colorSurfaceInverse">@color/midnightdusk_inverseSurface</item>
<item name="colorPrimaryInverse">@color/midnightdusk_primaryInverse</item>
2021-06-12 09:45:49 -04:00
</style>
<!--== Strawberry Daiquiri Theme ==-->
<style name="Theme.Tachiyomi.StrawberryDaiquiri">
<!-- Theme Colors -->
<item name="colorPrimary">@color/strawberry_primary</item>
<item name="colorOnPrimary">@color/strawberry_onPrimary</item>
<item name="colorPrimaryContainer">@color/strawberry_primaryContainer</item>
<item name="colorOnPrimaryContainer">@color/strawberry_onPrimaryContainer</item>
<item name="colorSecondary">@color/strawberry_secondary</item>
<item name="colorOnSecondary">@color/strawberry_onSecondary</item>
<item name="colorSecondaryContainer">@color/strawberry_secondaryContainer</item>
<item name="colorOnSecondaryContainer">@color/strawberry_onSecondaryContainer</item>
<item name="colorTertiary">@color/strawberry_tertiary</item>
<item name="colorOnTertiary">@color/strawberry_onTertiary</item>
<item name="colorTertiaryContainer">@color/strawberry_tertiaryContainer</item>
<item name="colorOnTertiaryContainer">@color/strawberry_onTertiaryContainer</item>
<item name="android:colorBackground">@color/strawberry_background</item>
<item name="colorOnBackground">@color/strawberry_onBackground</item>
<item name="colorSurface">@color/strawberry_surface</item>
<item name="colorOnSurface">@color/strawberry_onSurface</item>
<item name="colorSurfaceVariant">@color/strawberry_surfaceVariant</item>
<item name="colorOnSurfaceVariant">@color/strawberry_onSurfaceVariant</item>
<item name="colorOutline">@color/strawberry_outline</item>
<item name="colorOnSurfaceInverse">@color/strawberry_inverseOnSurface</item>
<item name="colorSurfaceInverse">@color/strawberry_inverseSurface</item>
<item name="colorPrimaryInverse">@color/strawberry_primaryInverse</item>
</style>
<!--== Tako Theme ==-->
<style name="Theme.Tachiyomi.Tako">
<!-- Theme Colors -->
<item name="colorPrimary">@color/tako_primary</item>
<item name="colorOnPrimary">@color/tako_onPrimary</item>
<item name="colorPrimaryContainer">@color/tako_primaryContainer</item>
<item name="colorOnPrimaryContainer">@color/tako_onPrimaryContainer</item>
<item name="colorSecondary">@color/tako_secondary</item>
<item name="colorOnSecondary">@color/tako_onSecondary</item>
<item name="colorSecondaryContainer">@color/tako_secondaryContainer</item>
<item name="colorOnSecondaryContainer">@color/tako_onSecondaryContainer</item>
<item name="colorTertiary">@color/tako_tertiary</item>
<item name="colorOnTertiary">@color/tako_onTertiary</item>
<item name="colorTertiaryContainer">@color/tako_tertiaryContainer</item>
<item name="colorOnTertiaryContainer">@color/tako_onTertiaryContainer</item>
<item name="android:colorBackground">@color/tako_background</item>
<item name="colorOnBackground">@color/tako_onBackground</item>
<item name="colorSurface">@color/tako_surface</item>
<item name="colorOnSurface">@color/tako_onSurface</item>
<item name="colorSurfaceVariant">@color/tako_surfaceVariant</item>
<item name="colorOnSurfaceVariant">@color/tako_onSurfaceVariant</item>
<item name="colorOutline">@color/tako_outline</item>
<item name="colorOnSurfaceInverse">@color/tako_inverseOnSurface</item>
<item name="colorSurfaceInverse">@color/tako_inverseSurface</item>
<item name="colorPrimaryInverse">@color/tako_primaryInverse</item>
<item name="elevationOverlayColor">@color/tako_elevationOverlay</item>
</style>
<!--== Teal & Turquoise Theme ==-->
<style name="Theme.Tachiyomi.TealTurquoise">
<!-- Theme Colors -->
<item name="colorPrimary">@color/tealturquoise_primary</item>
<item name="colorOnPrimary">@color/tealturquoise_onPrimary</item>
<item name="colorPrimaryContainer">@color/tealturquoise_primaryContainer</item>
<item name="colorOnPrimaryContainer">@color/tealturquoise_onPrimaryContainer</item>
<item name="colorSecondary">@color/tealturquoise_secondary</item>
<item name="colorOnSecondary">@color/tealturquoise_onSecondary</item>
<item name="colorSecondaryContainer">@color/tealturquoise_secondaryContainer</item>
<item name="colorOnSecondaryContainer">@color/tealturquoise_onSecondaryContainer</item>
<item name="colorTertiary">@color/tealturquoise_tertiary</item>
<item name="colorOnTertiary">@color/tealturquoise_onTertiary</item>
<item name="colorTertiaryContainer">@color/tealturquoise_tertiaryContainer</item>
<item name="colorOnTertiaryContainer">@color/tealturquoise_onTertiaryContainer</item>
<item name="android:colorBackground">@color/tealturquoise_background</item>
<item name="colorOnBackground">@color/tealturquoise_onBackground</item>
<item name="colorSurface">@color/tealturquoise_surface</item>
<item name="colorOnSurface">@color/tealturquoise_onSurface</item>
<item name="colorSurfaceVariant">@color/tealturquoise_surfaceVariant</item>
<item name="colorOnSurfaceVariant">@color/tealturquoise_onSurfaceVariant</item>
<item name="colorOutline">@color/tealturquoise_outline</item>
<item name="colorOnSurfaceInverse">@color/tealturquoise_inverseOnSurface</item>
<item name="colorSurfaceInverse">@color/tealturquoise_inverseSurface</item>
<item name="colorPrimaryInverse">@color/tealturquoise_primaryInverse</item>
<item name="colorError">@color/tealturquoise_tertiary</item>
<item name="colorOnError">@color/tealturquoise_onTertiary</item>
<item name="elevationOverlayColor">@color/tealturquoise_elevationOverlay</item>
</style>
<!--== Yin & Yang Theme ==-->
<style name="Theme.Tachiyomi.YinYang">
<!-- Theme Colors -->
<item name="colorPrimary">@color/yinyang_primary</item>
<item name="colorOnPrimary">@color/yinyang_onPrimary</item>
<item name="colorPrimaryContainer">@color/yinyang_primaryContainer</item>
<item name="colorOnPrimaryContainer">@color/yinyang_onPrimaryContainer</item>
<item name="colorSecondary">@color/yinyang_secondary</item>
<item name="colorOnSecondary">@color/yinyang_onSecondary</item>
<item name="colorSecondaryContainer">@color/yinyang_secondaryContainer</item>
<item name="colorOnSecondaryContainer">@color/yinyang_onSecondaryContainer</item>
<item name="colorTertiary">@color/yinyang_tertiary</item>
<item name="colorOnTertiary">@color/yinyang_onTertiary</item>
<item name="colorTertiaryContainer">@color/yinyang_tertiaryContainer</item>
<item name="colorOnTertiaryContainer">@color/yinyang_onTertiaryContainer</item>
<item name="android:colorBackground">@color/yinyang_background</item>
<item name="colorOnBackground">@color/yinyang_onBackground</item>
<item name="colorSurface">@color/yinyang_surface</item>
<item name="colorOnSurface">@color/yinyang_onSurface</item>
<item name="colorSurfaceVariant">@color/yinyang_surfaceVariant</item>
<item name="colorOnSurfaceVariant">@color/yinyang_onSurfaceVariant</item>
<item name="colorOutline">@color/yinyang_outline</item>
<item name="colorOnSurfaceInverse">@color/yinyang_inverseOnSurface</item>
<item name="colorSurfaceInverse">@color/yinyang_inverseSurface</item>
<item name="colorPrimaryInverse">@color/yinyang_primaryInverse</item>
</style>
<!--== Yotsuba Theme ==-->
<style name="Theme.Tachiyomi.Yotsuba">
<!-- Theme Colors -->
<item name="colorPrimary">@color/yotsuba_primary</item>
<item name="colorOnPrimary">@color/yotsuba_onPrimary</item>
<item name="colorPrimaryContainer">@color/yotsuba_primaryContainer</item>
<item name="colorOnPrimaryContainer">@color/yotsuba_onPrimaryContainer</item>
<item name="colorSecondary">@color/yotsuba_secondary</item>
<item name="colorOnSecondary">@color/yotsuba_onSecondary</item>
<item name="colorSecondaryContainer">@color/yotsuba_secondaryContainer</item>
<item name="colorOnSecondaryContainer">@color/yotsuba_onSecondaryContainer</item>
<item name="colorTertiary">@color/yotsuba_tertiary</item>
<item name="colorOnTertiary">@color/yotsuba_onTertiary</item>
<item name="colorTertiaryContainer">@color/yotsuba_tertiaryContainer</item>
<item name="colorOnTertiaryContainer">@color/yotsuba_onTertiaryContainer</item>
<item name="android:colorBackground">@color/yotsuba_background</item>
<item name="colorOnBackground">@color/yotsuba_onBackground</item>
<item name="colorSurface">@color/yotsuba_surface</item>
<item name="colorOnSurface">@color/yotsuba_onSurface</item>
<item name="colorSurfaceVariant">@color/yotsuba_surfaceVariant</item>
<item name="colorOnSurfaceVariant">@color/yotsuba_onSurfaceVariant</item>
<item name="colorOutline">@color/yotsuba_outline</item>
<item name="colorOnSurfaceInverse">@color/yotsuba_inverseOnSurface</item>
<item name="colorSurfaceInverse">@color/yotsuba_inverseSurface</item>
<item name="colorPrimaryInverse">@color/yotsuba_primaryInverse</item>
</style>
<!--== AMOLED Mode Overlay ==-->
<style name="ThemeOverlay.Tachiyomi.Amoled" parent="" />
2016-03-12 08:22:40 -05:00
<!--===============-->
<!-- Launch Screen -->
<!--===============-->
<!--== Splash Theme ==-->
<style name="Theme.Tachiyomi.SplashScreen" parent="Theme.SplashScreen">
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_tachi_splash</item>
<item name="windowSplashScreenBackground">@color/splash</item>
<item name="postSplashScreenTheme">@style/Theme.Tachiyomi</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
<item name="android:windowLightStatusBar">false</item>
<item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">false</item>
2016-03-12 08:22:40 -05:00
</style>
</resources>