From 033498aa1787a2cc92df6538ff43e26e1df6bd57 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Mon, 24 Jun 2024 11:02:27 +0530 Subject: [PATCH] themes: Switch to Material3 theme * Merge accent and primary color for simpler color management * Apply background color on status and navigation bar * Drop non-required colors Signed-off-by: Aayush Gupta --- app/src/main/res/values-night/colors.xml | 4 +--- app/src/main/res/values/colors.xml | 10 ++-------- app/src/main/res/values/themes.xml | 15 +++++++-------- 3 files changed, 10 insertions(+), 19 deletions(-) diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index ee3bd7b4..8298a670 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -6,9 +6,7 @@ - @android:color/system_accent1_100 - - @android:color/system_neutral1_900 + @android:color/system_accent1_100 @android:color/system_neutral1_900 diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 0e00c947..8e3ce57f 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -6,20 +6,14 @@ - @android:color/system_accent1_600 - - @android:color/system_neutral1_50 - - @color/primary + @android:color/system_accent1_600 @android:color/system_neutral1_50 - - @color/primary @*android:color/error_color_device_default_dark - @color/accent + @color/accent_primary #20ffffff diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 5b00ae32..228ab659 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -4,18 +4,17 @@ --> - @@ -75,7 +74,7 @@ gravity - -