drawable: Use text color for system icons

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta 2024-09-06 12:50:42 +05:30
parent ff59decaab
commit 085d152e55
7 changed files with 9 additions and 5 deletions

View file

@ -1,7 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:tint="@color/accent_primary"
android:tint="@color/text_color_primary"
android:viewportWidth="24"
android:viewportHeight="24">

View file

@ -6,7 +6,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:tint="@color/accent_primary"
android:tint="@color/text_color_primary"
android:viewportWidth="24"
android:viewportHeight="24">
<path

View file

@ -6,7 +6,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:tint="@color/accent_primary"
android:tint="@color/text_color_primary"
android:viewportWidth="24"
android:viewportHeight="24">
<path

View file

@ -6,7 +6,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:tint="@color/accent_primary"
android:tint="@color/text_color_primary"
android:viewportWidth="24"
android:viewportHeight="24">
<path

View file

@ -6,7 +6,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:tint="@color/accent_primary"
android:tint="@color/text_color_primary"
android:viewportWidth="24"
android:viewportHeight="24">
<path

View file

@ -9,4 +9,6 @@
<color name="accent_primary">@android:color/system_accent1_100</color>
<!-- https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-14.0.0_r1/core/res/res/values/colors_device_defaults.xml#51 -->
<color name="background">@android:color/system_neutral1_900</color>
<!-- https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-14.0.0_r1/core/res/res/color/text_color_primary_device_default_dark.xml -->
<color name="text_color_primary">@android:color/system_neutral1_50</color>
</resources>

View file

@ -14,6 +14,8 @@
<color name="red">#ff7043</color>
<!-- https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-14.0.0_r1/core/res/res/values/colors_device_defaults.xml#35 -->
<color name="ic_launcher_background">@color/accent_primary</color>
<!-- https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-14.0.0_r1/core/res/res/color/text_color_primary_device_default_light.xml -->
<color name="text_color_primary">@android:color/system_neutral1_900</color>
<!-- Custom colors -->
<color name="divider">#20ffffff</color>