Better use of colors

This commit is contained in:
Mylloon 2021-08-28 23:47:00 +02:00
parent 219ebd7d2c
commit c6b5bdb932
2 changed files with 9 additions and 7 deletions

View file

@ -2,15 +2,15 @@
<!-- Base application theme. --> <!-- Base application theme. -->
<style name="Theme.MobiDL" parent="Theme.MaterialComponents.DayNight.DarkActionBar"> <style name="Theme.MobiDL" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<!-- Primary brand color. --> <!-- Primary brand color. -->
<item name="colorPrimary">@color/amethyst</item> <item name="colorPrimary">@color/wetasphalt</item>
<item name="colorPrimaryVariant">@color/wisteria</item> <item name="colorPrimaryVariant">@color/midnightblue</item>
<item name="colorOnPrimary">@color/black</item> <item name="colorOnPrimary">@color/niceWhite</item>
<!-- Secondary brand color. --> <!-- Secondary brand color. -->
<item name="colorSecondary">@color/wetasphalt</item> <item name="colorSecondary">@color/amethyst</item>
<item name="colorSecondaryVariant">@color/midnightblue</item> <item name="colorSecondaryVariant">@color/wisteria</item>
<item name="colorOnSecondary">@color/black</item> <item name="colorOnSecondary">@color/dark</item>
<!-- Status bar color. --> <!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item> <item name="android:statusBarColor" tools:targetApi="l">@color/dark</item>
<!-- Customize your theme here. --> <!-- Customize your theme here. -->
</style> </style>
</resources> </resources>

View file

@ -5,5 +5,7 @@
<color name="wetasphalt">#34495E</color> <color name="wetasphalt">#34495E</color>
<color name="midnightblue">#2C3E50</color> <color name="midnightblue">#2C3E50</color>
<color name="black">#000000</color> <color name="black">#000000</color>
<color name="dark">#141414</color>
<color name="white">#FFFFFF</color> <color name="white">#FFFFFF</color>
<color name="niceWhite">#ECF0F1</color>
</resources> </resources>