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

82 lines
4.3 KiB
XML
Raw Normal View History

2016-03-12 14:22:40 +01:00
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
2016-03-12 14:22:40 +01:00
<!--============-->
<!-- Base Theme -->
<!--============-->
<style name="Theme"/>
2020-02-01 10:29:26 +01:00
<style name="Theme.Base" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<item name="android:forceDarkAllowed" tools:targetApi="29">false</item>
2019-10-28 03:05:35 +01:00
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
2020-03-23 22:18:18 +01:00
<item name="colorPrimary">@color/bluePrimary</item>
<item name="colorPrimaryVariant">@color/colorPrimary</item>
<item name="colorSecondary">@color/background</item>
<item name="colorPrimaryDark">@color/bluePrimary</item>
<item name="colorControlActivated">@color/colorAccent</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="android:textColorPrimary">@color/textColorPrimary</item>
<item name="android:textColorSecondary">@color/textColorSecondary</item>
<item name="android:textColorHint">@color/textColorHint</item>
<item name="android:textColorPrimaryInverse">@color/textColorPrimaryInverse</item>
<item name="android:textColorSecondaryInverse">@color/textColorSecondaryInverse</item>
<item name="android:textColorHintInverse">@color/textColorHintInverse</item>
<item name="android:colorBackground">@color/background</item>
<item name="android:listSelector">?colorAccent</item>
<item name="android:divider">@color/divider</item>
<item name="android:listDivider">@drawable/line_divider</item>
2020-02-01 10:29:26 +01:00
<item name="actionModeStyle">@style/CustomActionModeStyle</item>
<item name="tabBarIconColor">?colorAccent</item>
<item name="tabBarIconInactive">@color/colorPrimaryInactive</item>
2020-02-01 10:29:26 +01:00
2016-03-12 14:22:40 +01:00
<!-- Themes -->
<item name="windowActionModeOverlay">true</item>
<item name="actionBarTheme">@style/ThemeOverlay.AppCompat.DayNight.ActionBar</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
2016-03-12 14:22:40 +01:00
<!-- Custom Attributes-->
<item name="selectable_list_drawable">@drawable/list_item_selector</item>
<item name="actionBarTintColor">@color/textColorPrimary</item>
2019-10-28 03:05:35 +01:00
<item name="android:statusBarColor">@color/mainStatus</item>
<item name="android:navigationBarColor">#B3000000</item>
<item name="android:colorEdgeEffect">@color/colorAccent</item>
<!-- Material Dialog colors -->
<item name="md_color_title">@color/textColorPrimary</item>
<item name="md_color_content">@color/textColorSecondary</item>
<item name="md_color_button_text">@color/colorAccent</item>
<item name="md_background_color">@color/dialog</item>
<item name="md_button_casing">literal</item>
<item name="md_corner_radius">16dp</item>
<item name="android:windowLightStatusBar">true</item>
<item name="android:windowLightNavigationBar" tools:targetApi="27">true</item>
2016-03-12 14:22:40 +01:00
</style>
2019-10-27 05:42:49 +01:00
<style name="Theme.Tachiyomi" parent="Theme.Base"/>
<style name="Theme.Tachiyomi.AllBlue" parent="Theme.Tachiyomi">
2020-03-23 22:18:18 +01:00
<item name="colorPrimaryVariant">@color/bluePrimary</item>
<item name="colorSecondary">@color/bluePrimary</item>
<item name="tabBarIconColor">@color/md_white_1000</item>
<item name="tabBarIconInactive">@color/md_white_1000_50</item>
<item name="android:statusBarColor">@color/blueStatus</item>
<item name="actionBarTintColor">@color/md_white_1000</item>
<item name="actionBarTheme">@style/Theme.ActionBar.Dark.DayNight</item>
<item name="android:windowLightStatusBar">false</item>
<item name="android:windowLightNavigationBar" tools:targetApi="27">false</item>
2020-02-01 10:29:26 +01:00
</style>
2019-10-27 05:42:49 +01:00
<style name="Theme.Tachiyomi.Amoled" parent="Theme.Tachiyomi"/>
2016-03-12 14:22:40 +01:00
<!--===============-->
<!-- Launch Screen -->
<!--===============-->
2020-01-09 04:38:19 +01:00
<style name="Theme.Splash" parent="Theme.Tachiyomi">
<item name="android:windowBackground">@drawable/splash_background</item>
2020-01-15 10:21:58 +01:00
<item name="android:statusBarColor">@color/splashBackground</item>
<item name="android:navigationBarColor">@color/splashBackground</item>
<item name="android:windowLightStatusBar">false</item>
<item name="android:windowLightNavigationBar" tools:targetApi="27">false</item>
2016-03-12 14:22:40 +01:00
</style>
</resources>