Commit fc791b43 authored by daveyannihilation's avatar daveyannihilation Committed by John Wu

Fix Dark theme to display cards as slightly lighter than background as per...

Fix Dark theme to display cards as slightly lighter than background as per Material Design standards. Also redirect colors to app as opposed to calling on framework
parent f76bb009
...@@ -39,11 +39,11 @@ ...@@ -39,11 +39,11 @@
</style> </style>
<style name="CardViewStyle.Dark" parent="CardView"> <style name="CardViewStyle.Dark" parent="CardView">
<item name="cardBackgroundColor">@android:color/background_dark</item> <item name="cardBackgroundColor">@color/card_background_color_dark</item>
</style> </style>
<style name="CardViewStyle.Light" parent="CardView"> <style name="CardViewStyle.Light" parent="CardView">
<item name="cardBackgroundColor">@android:color/background_light</item> <item name="cardBackgroundColor">@color/card_background_color_light</item>
</style> </style>
<style name="AppTheme.StatusBar" parent="AppTheme"> <style name="AppTheme.StatusBar" parent="AppTheme">
......
...@@ -20,4 +20,8 @@ ...@@ -20,4 +20,8 @@
<color name="flashing_background_color">@android:color/black</color> <color name="flashing_background_color">@android:color/black</color>
<color name="ic_launcher_background">#00AF9C</color> <color name="ic_launcher_background">#00AF9C</color>
<!-- Card colors -->
<color name="card_background_color_dark">#ff424242</color>
<color name="card_background_color_light">#ffffffff</color>
</resources> </resources>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment