From 762daa183364160f49c1a3f978fce09bf31e3bd3 Mon Sep 17 00:00:00 2001 From: Fahim Date: Sat, 18 Sep 2021 23:20:05 +0600 Subject: [PATCH 1/3] 3642-Q-Dark-mode_implementation issue: https://gitlab.e.foundation/e/backlog/-/issues/3642 --- .../call_redirection_button_ripple_effect.xml | 2 +- .../call_redirection_dialog_background.xml | 2 +- res/drawable/ic_back_arrow.xml | 1 + res/drawable/ic_message.xml | 1 + res/drawable/ic_phone.xml | 1 + res/values-night-v27/styles.xml | 32 ++++++++++ res/values-night/styles.xml | 41 ------------ res/values-v27/styles.xml | 32 ++++++++++ res/values/colors.xml | 19 +++--- res/values/styles.xml | 63 +++++++++++++------ 10 files changed, 123 insertions(+), 71 deletions(-) create mode 100644 res/values-night-v27/styles.xml delete mode 100644 res/values-night/styles.xml create mode 100644 res/values-v27/styles.xml diff --git a/res/drawable/call_redirection_button_ripple_effect.xml b/res/drawable/call_redirection_button_ripple_effect.xml index 7fa7e7094..2dff241d0 100644 --- a/res/drawable/call_redirection_button_ripple_effect.xml +++ b/res/drawable/call_redirection_button_ripple_effect.xml @@ -18,7 +18,7 @@ android:color="?android:attr/colorControlHighlight"> - + \ No newline at end of file diff --git a/res/drawable/call_redirection_dialog_background.xml b/res/drawable/call_redirection_dialog_background.xml index 71277fd47..91768a2cf 100644 --- a/res/drawable/call_redirection_dialog_background.xml +++ b/res/drawable/call_redirection_dialog_background.xml @@ -15,6 +15,6 @@ ~ limitations under the License --> - + \ No newline at end of file diff --git a/res/drawable/ic_back_arrow.xml b/res/drawable/ic_back_arrow.xml index 07b3cb0b0..668365de8 100644 --- a/res/drawable/ic_back_arrow.xml +++ b/res/drawable/ic_back_arrow.xml @@ -16,4 +16,5 @@ --> diff --git a/res/drawable/ic_message.xml b/res/drawable/ic_message.xml index ae32073cd..b5b0d89e8 100644 --- a/res/drawable/ic_message.xml +++ b/res/drawable/ic_message.xml @@ -16,4 +16,5 @@ --> diff --git a/res/drawable/ic_phone.xml b/res/drawable/ic_phone.xml index 15c2a486c..7144230fc 100644 --- a/res/drawable/ic_phone.xml +++ b/res/drawable/ic_phone.xml @@ -16,4 +16,5 @@ --> diff --git a/res/values-night-v27/styles.xml b/res/values-night-v27/styles.xml new file mode 100644 index 000000000..af670fad6 --- /dev/null +++ b/res/values-night-v27/styles.xml @@ -0,0 +1,32 @@ + + + + + + + + + + \ No newline at end of file diff --git a/res/values-night/styles.xml b/res/values-night/styles.xml deleted file mode 100644 index da3130484..000000000 --- a/res/values-night/styles.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - diff --git a/res/values-v27/styles.xml b/res/values-v27/styles.xml new file mode 100644 index 000000000..29a50c56e --- /dev/null +++ b/res/values-v27/styles.xml @@ -0,0 +1,32 @@ + + + + + + + + + + \ No newline at end of file diff --git a/res/values/colors.xml b/res/values/colors.xml index 3986d4882..29198ee95 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -17,19 +17,20 @@ @lineageos.platform:color/color_default_accent - #fafafa + @lineageos.platform:color/color_default_background + @lineageos.platform:color/color_default_primary_dark - #d8d8d8 - #202124 - #5f6368 + @lineageos.platform:color/color_default_divider + @lineageos.platform:color/color_default_primary_text + @lineageos.platform:color/color_default_secondary_text - #097138 - #A52714 + @lineageos.platform:color/color_default_green1 + @lineageos.platform:color/color_default_red1 - #4089F4 - #212121 - #B8B8B8 + @color/theme_color + @color/blocked_numbers_primary_text_color + @color/blocked_numbers_divider_color diff --git a/res/values/styles.xml b/res/values/styles.xml index 187086b08..1adf30908 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -15,8 +15,10 @@ --> - + + + + - + + - - - - + diff --git a/res/values/styles.xml b/res/values/styles.xml index 8aa8e63be..645af0683 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -15,10 +15,13 @@ --> + + - - -