ui: re-add accent customization >api 31
Re-add accent customization on Android 12 and above. Previously, I disabled accent customization since I thought they were more or less useless with the new Material You dynamic colors system. Turns out I severely underestimated how horribly OEMs would botch the dynamic colors system. Guess I was blinded by my adherence to the pixel line. Re-add the accent customization for those who do not have a good dynamic color palette at all. Resolves #131.
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
<!-- Note: Not actually transparent, making it transparent would actually make it translucent -->
|
||||
<color name="chrome_transparent">#01151515</color>
|
||||
|
||||
<color name="widget_surface">@color/material_dynamic_secondary20</color>
|
||||
<color name="widget_surface_inverse">@color/material_dynamic_neutral90</color>
|
||||
<color name="widget_on_surface_inverse">@color/material_dynamic_neutral20</color>
|
||||
|
||||
<color name="red_primary">#FFB4A8</color>
|
||||
<color name="red_on_primary">#680001</color>
|
||||
<color name="red_primary_container">#940002</color>
|
||||
@@ -387,7 +391,5 @@
|
||||
<color name="grey_surface_inverse">#fafafa</color>
|
||||
<color name="grey_on_surface_inverse">#2D3132</color>
|
||||
|
||||
<color name="widget_surface">@color/material_dynamic_secondary20</color>
|
||||
<color name="widget_surface_inverse">@color/material_dynamic_neutral90</color>
|
||||
<color name="widget_on_surface_inverse">@color/material_dynamic_neutral20</color>
|
||||
<color name="dynamic_primary">@color/m3_ref_palette_dynamic_primary80</color>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user