Fixed dark theme action color

This commit is contained in:
M66B 2019-09-10 08:31:28 +02:00
parent 1d73cc8933
commit 2318389a03
2 changed files with 19 additions and 8 deletions

View File

@ -20,31 +20,38 @@
<color name="greyAccent">#90a4ae</color> <color name="greyAccent">#90a4ae</color>
<color name="greyAccentDark">#62757f</color> <color name="greyAccentDark">#62757f</color>
<color name="colorActionForeground">#fff</color>
<color name="colorActionForegroundDisabled">#ccc</color>
<color name="colorActionBackground">#ccc</color>
<color name="colorWidgetForeground">#fff</color> <color name="colorWidgetForeground">#fff</color>
<color name="colorWidgetBackground">#7f000000</color> <color name="colorWidgetBackground">#7f000000</color>
<color name="lightColorItemSelected">#ccc</color> <color name="lightColorItemSelected">#ccc</color>
<color name="lightColorSeparator">#ccc</color> <color name="lightColorSeparator">#ccc</color>
<color name="lightColorWarning">#ffff0000</color> <color name="lightColorWarning">#ffff0000</color>
<color name="lightColorDrawerScrim">#99000000</color> <color name="lightColorDrawerScrim">#99000000</color>
<color name="lightColorDrawerText">#111</color> <color name="lightColorDrawerText">#111</color>
<color name="lightColorDrawerBackground">#eee</color> <color name="lightColorDrawerBackground">#eee</color>
<color name="lightColorCardBackground">#fff</color>
<color name="lightColorCardBackground">#fff</color>
<color name="lightColorBackground_cards">#eee</color> <color name="lightColorBackground_cards">#eee</color>
<color name="lightActionForeground">#fff</color>
<color name="lightActionForegroundDisabled">#ddd</color>
<color name="lightActionBackground">#ccc</color>
<color name="darkColorItemSelected">#444</color> <color name="darkColorItemSelected">#444</color>
<color name="darkColorSeparator">#444</color> <color name="darkColorSeparator">#444</color>
<color name="darkColorWarning">#ffffb300</color> <color name="darkColorWarning">#ffffb300</color>
<color name="darkColorDrawerScrim">#997f7f7f</color> <color name="darkColorDrawerScrim">#997f7f7f</color>
<color name="darkColorDrawerText">#fff</color> <color name="darkColorDrawerText">#fff</color>
<color name="darkColorDrawerBackground">#222</color> <color name="darkColorDrawerBackground">#222</color>
<color name="darkColorCardBackground">#222</color> <color name="darkColorCardBackground">#222</color>
<color name="darkActionForeground">#fff</color>
<color name="darkActionForegroundDisabled">#666</color>
<color name="darkActionBackground">#444</color>
<!-- default: #323232 --> <!-- default: #323232 -->
<color name="design_snackbar_background_color" tools:override="true">#222</color> <color name="design_snackbar_background_color" tools:override="true">#222</color>

View File

@ -34,9 +34,9 @@
<item name="colorCardBackground">@color/lightColorCardBackground</item> <item name="colorCardBackground">@color/lightColorCardBackground</item>
<item name="colorActionForeground">@color/colorActionForeground</item> <item name="colorActionForeground">@color/lightActionForeground</item>
<item name="colorActionForegroundDisabled">@color/colorActionForegroundDisabled</item> <item name="colorActionForegroundDisabled">@color/lightActionForegroundDisabled</item>
<item name="colorActionBackground">@color/colorActionBackground</item> <item name="colorActionBackground">@color/lightActionBackground</item>
<item name="colorFabForeground">@android:color/white</item> <item name="colorFabForeground">@android:color/white</item>
<item name="colorFabBackground">@color/colorAccent</item> <item name="colorFabBackground">@color/colorAccent</item>
@ -76,6 +76,10 @@
<item name="colorCardBackground">@color/darkColorCardBackground</item> <item name="colorCardBackground">@color/darkColorCardBackground</item>
<item name="colorActionForeground">@color/darkActionForeground</item>
<item name="colorActionForegroundDisabled">@color/darkActionForegroundDisabled</item>
<item name="colorActionBackground">@color/darkActionBackground</item>
<item name="colorFabForeground">@android:color/white</item> <item name="colorFabForeground">@android:color/white</item>
<item name="colorFabBackground">@color/colorAccent</item> <item name="colorFabBackground">@color/colorAccent</item>