From 4ba6da1f5819caf713cdbefbb3ad4c614f73fbf1 Mon Sep 17 00:00:00 2001 From: Brayan Oliveira <69634269+brayandso@users.noreply.github.com> Date: Sun, 17 Dec 2023 07:43:48 -0300 Subject: [PATCH] fix: material tonal system colors --- AnkiDroid/src/main/res/color/faded_primary.xml | 18 ++++++++++++++++++ AnkiDroid/src/main/res/values/theme_dark.xml | 4 ++++ AnkiDroid/src/main/res/values/theme_light.xml | 4 ++++ 3 files changed, 26 insertions(+) create mode 100644 AnkiDroid/src/main/res/color/faded_primary.xml diff --git a/AnkiDroid/src/main/res/color/faded_primary.xml b/AnkiDroid/src/main/res/color/faded_primary.xml new file mode 100644 index 000000000000..4f4a24679408 --- /dev/null +++ b/AnkiDroid/src/main/res/color/faded_primary.xml @@ -0,0 +1,18 @@ + + + + \ No newline at end of file diff --git a/AnkiDroid/src/main/res/values/theme_dark.xml b/AnkiDroid/src/main/res/values/theme_dark.xml index 2397c614761a..e5530e3eedaf 100644 --- a/AnkiDroid/src/main/res/values/theme_dark.xml +++ b/AnkiDroid/src/main/res/values/theme_dark.xml @@ -24,6 +24,10 @@ @color/text_color_secondary_dark @color/material_theme_grey @color/material_theme_grey + + ?attr/colorSurfaceContainer + @color/faded_primary + ?android:attr/colorBackground ?attr/colorAccent ?attr/colorAccent diff --git a/AnkiDroid/src/main/res/values/theme_light.xml b/AnkiDroid/src/main/res/values/theme_light.xml index 5e401515492a..72aecb8f5a23 100644 --- a/AnkiDroid/src/main/res/values/theme_light.xml +++ b/AnkiDroid/src/main/res/values/theme_light.xml @@ -11,6 +11,10 @@ @color/white @color/white + ?attr/colorSurfaceContainer + @color/faded_primary + ?android:attr/colorBackground + @color/text_color_light @color/text_color_secondary_light @android:color/white