فهرست منبع

Improve Green Apple color in Light theme (#5528)

Soitora 3 سال پیش
والد
کامیت
3dbfee91f6
3فایلهای تغییر یافته به همراه13 افزوده شده و 2 حذف شده
  1. 10 0
      app/src/main/res/values-night/themes.xml
  2. 1 0
      app/src/main/res/values/colors.xml
  3. 2 2
      app/src/main/res/values/themes.xml

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

@@ -19,4 +19,14 @@
         <item name="android:colorBackground">@color/background_midnightdusk</item>
     </style>
 
+    <!--== Green Apple theme ==-->
+    <style name="Theme.Tachiyomi.GreenApple">
+        <!-- Theme colors -->
+        <item name="colorPrimary">@color/accent_greenapple</item>
+        <item name="colorOnPrimary">@color/md_black_1000</item>
+        <item name="colorTertiary">@color/md_blue_A400</item>
+        <item name="colorControlHighlight">@color/ripple_colored_greenapple</item>
+        <item name="lightSystemBarsOnPrimary">true</item>
+    </style>
+
 </resources>

+ 1 - 0
app/src/main/res/values/colors.xml

@@ -23,6 +23,7 @@
 
     <!-- Green Apple Theme -->
     <color name="accent_greenapple">#48E484</color>
+    <color name="accent_greenapple_variant">#188140</color>
     <color name="ripple_colored_greenapple">#1F48E484</color>
 
     <!-- Yin Yang Theme -->

+ 2 - 2
app/src/main/res/values/themes.xml

@@ -104,8 +104,8 @@
     <!--== Green Apple theme ==-->
     <style name="Theme.Tachiyomi.GreenApple">
         <!-- Theme colors -->
-        <item name="colorPrimary">@color/accent_greenapple</item>
-        <item name="colorOnPrimary">@color/md_black_1000</item>
+        <item name="colorPrimary">@color/accent_greenapple_variant</item>
+        <item name="colorOnPrimary">@color/md_white_1000</item>
         <item name="colorTertiary">@color/md_blue_A400</item>
         <item name="colorControlHighlight">@color/ripple_colored_greenapple</item>
         <item name="lightSystemBarsOnPrimary">true</item>