Replaced the algorithm for determining whether two colors are distinguishable. Merged some duplicated code into its own methods.
This commit is contained in:
parent
a1fb2d3c9d
commit
601c1d9489
4 changed files with 109 additions and 29 deletions
|
|
@ -4,7 +4,7 @@
|
|||
<color name="pink_A200">#ff4081</color>
|
||||
<color name="indigo_500">#3f51b5</color>
|
||||
|
||||
<color name="grey_800">#424242</color>
|
||||
<color name="grey_700">#616161</color>
|
||||
<color name="grey_900">#212121</color>
|
||||
|
||||
</resources>
|
||||
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
<item name="cardBackgroundColor">@color/cardview_light_background</item>
|
||||
|
||||
<item name="default_bar_color">@color/grey_800</item>
|
||||
<item name="default_bar_color">@color/grey_700</item>
|
||||
|
||||
<item name="divider_color">@color/md_divider_black</item>
|
||||
<item name="icon_color">@color/secondary_text_default_material_light</item>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue