From b777c4bf03badaad6f508e78bf69478b2abdd4cf Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Wed, 14 Sep 2022 11:17:36 +0200 Subject: [PATCH] Use light navigation bar in light SC themes New app layout currently enforces this, so unbreak it there Change-Id: I8885c18d839d715b4308a4abd9634a1130da13e2 --- generate_themes.sh | 2 +- .../ui-styles/src/main/res/values-v23/theme_sc.xml | 7 ------- .../src/main/res/values-v23/theme_sc_light.xml | 11 +++++++++++ .../ui-styles/src/main/res/values-v27/theme_sc.xml | 6 ------ .../src/main/res/values-v27/theme_sc_light.xml | 11 +++++++++++ .../res/values-v27/theme_sc_light_accent_amber.xml | 3 ++- .../res/values-v27/theme_sc_light_accent_blue.xml | 3 ++- .../values-v27/theme_sc_light_accent_bluelight.xml | 3 ++- .../values-v27/theme_sc_light_accent_carnation.xml | 3 ++- .../res/values-v27/theme_sc_light_accent_cyan.xml | 3 ++- .../res/values-v27/theme_sc_light_accent_denim.xml | 3 ++- .../res/values-v27/theme_sc_light_accent_gold.xml | 3 ++- .../values-v27/theme_sc_light_accent_greendark.xml | 3 ++- .../res/values-v27/theme_sc_light_accent_indigo.xml | 3 ++- .../res/values-v27/theme_sc_light_accent_lava.xml | 3 ++- .../res/values-v27/theme_sc_light_accent_lime.xml | 3 ++- .../res/values-v27/theme_sc_light_accent_orange.xml | 3 ++- .../res/values-v27/theme_sc_light_accent_pink.xml | 3 ++- .../res/values-v27/theme_sc_light_accent_purple.xml | 3 ++- .../main/res/values-v27/theme_sc_light_accent_red.xml | 3 ++- .../res/values-v27/theme_sc_light_accent_teal.xml | 3 ++- .../values-v27/theme_sc_light_accent_turquoise.xml | 3 ++- .../res/values-v27/theme_sc_light_accent_yellow.xml | 3 ++- 23 files changed, 59 insertions(+), 32 deletions(-) create mode 100644 library/ui-styles/src/main/res/values-v23/theme_sc_light.xml create mode 100644 library/ui-styles/src/main/res/values-v27/theme_sc_light.xml diff --git a/generate_themes.sh b/generate_themes.sh index b5e11fc67a..6795ec341d 100755 --- a/generate_themes.sh +++ b/generate_themes.sh @@ -61,7 +61,7 @@ function generate_accent_common() { local name="$1" local name_str="$2" local name_lc=`echo "$name" | tr '[:upper:]' '[:lower:]'` - insert_above_xml_comment "vector/src/main/res/values/strings_sc.xml" "do not change this comment for accent generation" "$name_str" " " + insert_above_xml_comment "library/ui-strings/src/main/res/values/strings_sc.xml" "do not change this comment for accent generation" "$name_str" " " } function generate_accent_light() { diff --git a/library/ui-styles/src/main/res/values-v23/theme_sc.xml b/library/ui-styles/src/main/res/values-v23/theme_sc.xml index 1b0602230f..ded333097a 100644 --- a/library/ui-styles/src/main/res/values-v23/theme_sc.xml +++ b/library/ui-styles/src/main/res/values-v23/theme_sc.xml @@ -17,11 +17,6 @@ false - - + + - - + +