From 57be15abcf5e0333bb2731a509bb5db64f4571b0 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Mon, 9 Oct 2023 20:26:47 +0530 Subject: [PATCH] colors: Switch to public APIs for colors Signed-off-by: Aayush Gupta --- app/src/main/res/values-night/colors.xml | 10 +++++--- app/src/main/res/values/colors.xml | 29 ++++++++++++++++-------- 2 files changed, 27 insertions(+), 12 deletions(-) diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index d175daa7..b1cd8272 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -1,10 +1,14 @@ - @*android:color/accent_device_default_dark - @*android:color/primary_device_default_settings + + + @android:color/system_accent1_100 + + @android:color/system_neutral1_900 + + @android:color/black @color/primaryDark @color/background @android:color/transparent - @*android:color/error_color_device_default_dark diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index dd7e05fa..bab25339 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,14 +1,25 @@ - @*android:color/accent_device_default_light - @*android:color/primary_device_default_settings_light - @*android:color/primary_dark_device_default_settings_light - @*android:color/background_device_default_light - @*android:color/primary_device_default_light - @*android:color/primary_device_default_settings_light - - @*android:color/error_color_device_default_dark - @*android:color/accent_device_default_light + + + @android:color/system_accent1_600 + + @android:color/system_neutral1_50 + + @color/primary + + @android:color/system_neutral1_50 + + @color/primary + + @color/primary + + + ?android:attr/colorError + + @color/accent + + #20ffffff #558B2F #F9A825