Updated styles due to low accessibility

This commit is contained in:
Viktor De Pasquale 2019-10-18 18:15:22 +02:00
parent 512f533a80
commit a539ffb188
3 changed files with 4 additions and 4 deletions

View File

@ -7,14 +7,14 @@
<item name="colorSecondary">#00C853</item> <item name="colorSecondary">#00C853</item>
<item name="colorSecondaryVariant">#8000C853</item> <item name="colorSecondaryVariant">#8000C853</item>
<item name="colorSurface">#0D0D0D</item> <item name="colorSurface">#0D0D0D</item>
<item name="colorSurfaceVariant">#D9191919</item> <item name="colorSurfaceVariant">#1F1F1F</item>
<item name="colorOnPrimary">#F2F2F2</item> <item name="colorOnPrimary">#F2F2F2</item>
<item name="colorOnPrimaryVariant">#D9E6E6E6</item> <item name="colorOnPrimaryVariant">#D9E6E6E6</item>
<item name="colorOnSecondary">#F2F2F2</item> <item name="colorOnSecondary">#F2F2F2</item>
<item name="colorOnBackground">?colorOnSurface</item> <item name="colorOnBackground">?colorOnSurface</item>
<item name="colorError">#CC0047</item> <item name="colorError">#CC0047</item>
<item name="colorOnError">#F2F2F2</item> <item name="colorOnError">#F2F2F2</item>
<item name="colorOnSurface">#BABABA</item> <item name="colorOnSurface">#D8D8D8</item>
<item name="colorOnSurfaceVariant">#80BABABA</item> <item name="colorOnSurfaceVariant">#80BABABA</item>
<item name="colorDisabled">#808080</item> <item name="colorDisabled">#808080</item>
<item name="colorDisabledVariant">#66808080</item> <item name="colorDisabledVariant">#66808080</item>

View File

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

View File

@ -33,7 +33,7 @@ variant. Make sure to use style referenced by attribute defined it attrs.xml.
<style name="WidgetFoundation.Card.Variant"> <style name="WidgetFoundation.Card.Variant">
<item name="cardBackgroundColor">?colorSurface</item> <item name="cardBackgroundColor">?colorSurface</item>
<item name="strokeColor">?colorSurfaceVariant</item> <item name="strokeColor">?colorSurfaceVariant</item>
<item name="strokeWidth">1dp</item> <item name="strokeWidth">1.5dp</item>
</style> </style>
<style name="WidgetFoundation.Card.Elevated" parent="Widget.MaterialComponents.CardView"> <style name="WidgetFoundation.Card.Elevated" parent="Widget.MaterialComponents.CardView">