style: improve material you usage
My phone has just updated to Android 12, and Auxio looks very out of place compared to the other themed APIs. Improve the usage of Material You on the app icon and the widgets so that they line up a bit more. Can't fully commit though since sometimes the colors can't be replicated or because they don't look very good.
This commit is contained in:
@@ -2,9 +2,14 @@
|
||||
<resources>
|
||||
<!-- Base app colors -->
|
||||
<color name="surface">#fafafa</color>
|
||||
<color name="surface_inverse">@color/surface_night</color>
|
||||
<color name="control">#202020</color>
|
||||
<color name="nav_bar">#01fafafa</color>
|
||||
|
||||
<color name="surface_day">#fafafa</color>
|
||||
<color name="surface_night">#1f1f1f</color>
|
||||
<color name="surface_black">@android:color/black</color>
|
||||
|
||||
<!--
|
||||
Each accent's color roles.
|
||||
Note that some accents might have different tones used for legibility. Those are not errors.
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
<!-- Android 12 configuration -->
|
||||
<style name="Theme.Auxio.V31" parent="Theme.Auxio.V27">
|
||||
<!-- Make sure to apply more accent-friendly values on older versions -->
|
||||
<item name="colorSurface">@color/surface</item>
|
||||
<item name="colorSurfaceInverse">@color/surface_inverse</item>
|
||||
|
||||
<item name="colorSecondary">?attr/colorPrimary</item>
|
||||
<item name="colorOnSecondary">?attr/colorOnPrimary</item>
|
||||
<item name="colorSecondaryContainer">?attr/colorPrimaryContainer</item>
|
||||
@@ -16,9 +19,6 @@
|
||||
<item name="colorOnTertiary">?attr/colorOnPrimary</item>
|
||||
<item name="colorTertiaryContainer">?attr/colorPrimaryContainer</item>
|
||||
<item name="colorOnTertiaryContainer">?attr/colorOnPrimaryContainer</item>
|
||||
|
||||
<item name="colorSurface">@color/surface</item>
|
||||
<item name="colorControlNormal">@color/control</item>
|
||||
</style>
|
||||
|
||||
<!-- Base theme -->
|
||||
@@ -26,6 +26,7 @@
|
||||
<!-- Values -->
|
||||
<item name="colorOutline">@color/overlay_stroke</item>
|
||||
<item name="colorAccent">?attr/colorSecondary</item>
|
||||
<item name="colorControlNormal">?attr/colorSurfaceInverse</item>
|
||||
<item name="colorControlHighlight">@color/overlay_selection</item>
|
||||
<item name="colorControlActivated">?attr/colorSecondary</item>
|
||||
|
||||
@@ -48,7 +49,7 @@
|
||||
Assume that Android's night mode will do the rest of the work
|
||||
for us and set the background to pitch-black
|
||||
-->
|
||||
<item name="colorSurface">@android:color/black</item>
|
||||
<item name="colorSurface">@color/surface_black</item>
|
||||
</style>
|
||||
|
||||
<!--
|
||||
|
||||
Reference in New Issue
Block a user