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
This commit is contained in:
parent
f76bb009f4
commit
fc791b4371
@ -39,11 +39,11 @@
|
||||
</style>
|
||||
|
||||
<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 name="CardViewStyle.Light" parent="CardView">
|
||||
<item name="cardBackgroundColor">@android:color/background_light</item>
|
||||
<item name="cardBackgroundColor">@color/card_background_color_light</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.StatusBar" parent="AppTheme">
|
||||
|
@ -20,4 +20,8 @@
|
||||
<color name="flashing_background_color">@android:color/black</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>
|
||||
|
Loading…
Reference in New Issue
Block a user