Updated colors and elevation to be less distracting

This commit is contained in:
Viktor De Pasquale 2019-10-19 21:12:30 +02:00
parent 7c6d85221d
commit ddf40df649
3 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,8 @@
<style name="WidgetFoundation.Card.Elevated" parent="Widget.MaterialComponents.CardView">
<item name="cardBackgroundColor">?colorSurfaceVariant</item>
<item name="cardElevation">@dimen/l_25</item>
<!--elevation wouldn't be seen, since we change the color anyways-->
<item name="cardElevation">0dp</item>
</style>
</resources>

View File

@ -90,7 +90,7 @@
<item name="colorSecondary">#00C853</item>
<item name="colorSecondaryVariant">#8000C853</item>
<item name="colorSurface">#F2F2F2</item>
<item name="colorSurfaceVariant">#D9D9D9D9</item>
<item name="colorSurfaceVariant">#E8E8E8</item>
<item name="colorOnPrimary">#F2F2F2</item>
<item name="colorOnPrimaryVariant">#D9E6E6E6</item>
<item name="colorOnSecondary">#F2F2F2</item>

View File

@ -38,7 +38,7 @@ variant. Make sure to use style referenced by attribute defined it attrs.xml.
<style name="WidgetFoundation.Card.Elevated" parent="Widget.MaterialComponents.CardView">
<item name="cardBackgroundColor">?colorSurface</item>
<item name="cardElevation">@dimen/l_25</item>
<item name="cardElevation">@dimen/l_125</item>
</style>
<style name="WidgetFoundation.Card.OnPrimary" parent="Widget.MaterialComponents.CardView">