Browse Source

Match status/nav bar color with toolbar

arkon 5 years ago
parent
commit
04bbc764a0
2 changed files with 8 additions and 6 deletions
  1. 1 1
      app/src/main/res/values-night/themes.xml
  2. 7 5
      app/src/main/res/values/themes.xml

+ 1 - 1
app/src/main/res/values-night/themes.xml

@@ -5,7 +5,7 @@
     <!-- Launch Screen -->
     <!--===============-->
     <style name="Theme.Splash" parent="Theme.Tachiyomi">
-        <item name="colorBackgroundSplash">@color/colorDarkPrimaryDark</item>
+        <item name="colorBackgroundSplash">@color/backgroundDark</item>
 
         <item name="android:windowBackground">@drawable/splash_background</item>
         <item name="android:statusBarColor">?attr/colorBackgroundSplash</item>

+ 7 - 5
app/src/main/res/values/themes.xml

@@ -17,7 +17,7 @@
         <!-- Theme colors -->
         <item name="colorPrimary">@color/colorPrimary</item>
         <item name="colorOnPrimary">@color/textColorPrimaryDark</item>
-        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
+        <item name="colorPrimaryDark">@color/colorPrimary</item>
         <item name="colorSecondary">@color/colorAccentLight</item>
         <item name="colorOnSecondary">@color/textColorPrimaryDark</item>
         <item name="colorSurface">@color/dialogLight</item>
@@ -66,7 +66,7 @@
     <style name="Theme.Tachiyomi" parent="Theme.Base">
         <item name="android:windowDrawsSystemBarBackgrounds">true</item>
         <item name="android:statusBarColor">@android:color/transparent</item>
-        <item name="android:navigationBarColor">@color/colorPrimaryDark</item>
+        <item name="android:navigationBarColor">@color/colorPrimary</item>
     </style>
 
     <!--=============-->
@@ -76,7 +76,7 @@
         <!-- Theme colors -->
         <item name="colorPrimary">@color/colorDarkPrimary</item>
         <item name="colorOnPrimary">@color/textColorPrimaryDark</item>
-        <item name="colorPrimaryDark">@color/colorDarkPrimaryDark</item>
+        <item name="colorPrimaryDark">@color/colorDarkPrimary</item>
         <item name="colorSecondary">@color/colorAccentDark</item>
         <item name="colorOnSecondary">@color/textColorPrimaryDark</item>
         <item name="colorSurface">@color/dialogDark</item>
@@ -103,7 +103,7 @@
 
         <item name="android:windowDrawsSystemBarBackgrounds">true</item>
         <item name="android:statusBarColor">@android:color/transparent</item>
-        <item name="android:navigationBarColor">@color/colorDarkPrimaryDark</item>
+        <item name="android:navigationBarColor">@color/colorDarkPrimary</item>
 
         <!-- Themes -->
         <item name="android:forceDarkAllowed">false</item>
@@ -130,7 +130,9 @@
 
     <style name="Theme.Tachiyomi.DarkBlue" parent="Theme.Base.Dark">
         <item name="colorPrimary">@color/colorPrimary</item>
-        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
+        <item name="colorPrimaryDark">@color/colorPrimary</item>
+
+        <item name="android:navigationBarColor">@color/colorPrimary</item>
     </style>
 
     <!--==============-->