]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/commitdiff
Create a lighter background for the dark theme `AlertDialogs`.
authorSoren Stoutner <soren@stoutner.com>
Wed, 21 Jun 2017 23:52:15 +0000 (16:52 -0700)
committerSoren Stoutner <soren@stoutner.com>
Wed, 21 Jun 2017 23:52:15 +0000 (16:52 -0700)
app/src/main/res/values/colors.xml
app/src/main/res/values/styles.xml

index 48d1f7c0b1fa2a6a20a34670491288b499115f73..ff782d97524b35b5dd6c40ff386ea5fbbce4f91e 100644 (file)
@@ -55,6 +55,7 @@
     <color name="gray_600">#FF757575</color>
     <color name="gray_700">#FF616161</color>
     <color name="gray_800">#FF424242</color>
     <color name="gray_600">#FF757575</color>
     <color name="gray_700">#FF616161</color>
     <color name="gray_800">#FF424242</color>
+    <color name="gray_850">#FF313131</color>
     <color name="gray_900">#FF212121</color>
 
     <color name="green_50">#FFE8F5E9</color>
     <color name="gray_900">#FF212121</color>
 
     <color name="green_50">#FFE8F5E9</color>
index ffe929a1c18c3f3467427e7abd9ca712be8d5c92..9fe7aedffe7a007e0ee8c1285e8745f37ee1b5a9 100644 (file)
     </style>
 
     <style name="PrivacyBrowserAlertDialogDark" parent="Theme.AppCompat.Dialog.Alert" >
     </style>
 
     <style name="PrivacyBrowserAlertDialogDark" parent="Theme.AppCompat.Dialog.Alert" >
-        <item name="android:windowBackground">@color/gray_900</item>
-        <item name="android:textColor">@color/gray_300</item>
+        <item name="android:windowBackground">@color/gray_850</item>
+        <item name="android:textColorPrimary">@color/gray_300</item>
+        <item name="android:textColorSecondary">@color/gray_300</item>
+        <item name="colorAccent">@color/blue_600</item>
     </style>
 
     <style name="PrivacyBrowserSpinnerDropDownItemStyleDark" parent="Base.Widget.AppCompat.TextView.SpinnerItem" >
     </style>
 
     <style name="PrivacyBrowserSpinnerDropDownItemStyleDark" parent="Base.Widget.AppCompat.TextView.SpinnerItem" >