style: rework dynamic colors
Allow the material library to handle dynamic colors. Turns out I was mis-understanding how DynamicColor themes were meant to be used by the material library. Turns out you can just inherit from it and it will work perfectly fine. Refactor the V31 styles to remove our insane shims and finally fix the slapdash dynamic color usage across the main theme and widgets.
This commit is contained in:
@@ -6,6 +6,6 @@
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#80ffffff"
|
||||
android:fillColor="#A0ffffff"
|
||||
android:pathData="M7 7h10v3l4-4-4-4v3H5v6h2V7zm10 10H7v-3l-4 4 4 4v-3h12v-6h-2v4z" />
|
||||
</vector>
|
||||
|
||||
@@ -6,6 +6,6 @@
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#80FFFFFF"
|
||||
android:fillColor="#A0FFFFFF"
|
||||
android:pathData="M10.59 9.17L5.41 4 4 5.41l5.17 5.17 1.42-1.41zM14.5 4l2.04 2.04L4 18.59 5.41 20 17.96 7.46 20 9.5V4h-5.5zm0.33 9.41l-1.41 1.41 3.13 3.13L14.5 20H20v-5.5l-2.04 2.04-3.13-3.13z" />
|
||||
</vector>
|
||||
|
||||
Reference in New Issue
Block a user