From 73efcfcf154fa86837c58edaa377004d63eda17d Mon Sep 17 00:00:00 2001 From: Lucas Dupin Date: Fri, 9 Apr 2021 16:20:20 -0700 Subject: [PATCH] New color spec - colorBackground and colorBackgroundFloating are the same - keyguard and shade have lighter background - "clear all" has same background as notifications - notifications and keyguard buttons use colorSurface Test: visual Fixes: 184982648 Change-Id: I5d39138cab4a1d39147685eec9ed4fc89e616133 --- core/res/res/color/surface_light.xml | 2 +- core/res/res/values/colors_device_defaults.xml | 6 +++--- packages/SystemUI/res-keyguard/values/styles.xml | 4 ++-- packages/SystemUI/res/drawable/notification_guts_bg.xml | 5 +++-- packages/SystemUI/res/drawable/notification_material_bg.xml | 3 ++- packages/SystemUI/res/values-night/colors.xml | 2 +- packages/SystemUI/res/values/colors.xml | 2 +- 7 files changed, 13 insertions(+), 11 deletions(-) diff --git a/core/res/res/color/surface_light.xml b/core/res/res/color/surface_light.xml index 4a230b12726c6..169bfcdf1d41d 100644 --- a/core/res/res/color/surface_light.xml +++ b/core/res/res/color/surface_light.xml @@ -14,5 +14,5 @@ limitations under the License. --> - + diff --git a/core/res/res/values/colors_device_defaults.xml b/core/res/res/values/colors_device_defaults.xml index 6024cab1b7297..bec0ad150b1a6 100644 --- a/core/res/res/values/colors_device_defaults.xml +++ b/core/res/res/values/colors_device_defaults.xml @@ -48,10 +48,10 @@ @color/system_accent3_300 - @color/system_neutral1_800 + @color/system_neutral1_900 @color/system_neutral1_50 - @color/system_neutral1_900 - @color/system_neutral1_100 + @color/background_device_default_dark + @color/background_device_default_light @color/system_neutral1_700 diff --git a/packages/SystemUI/res-keyguard/values/styles.xml b/packages/SystemUI/res-keyguard/values/styles.xml index 2ffc9927480ee..0fef9f15c3738 100644 --- a/packages/SystemUI/res-keyguard/values/styles.xml +++ b/packages/SystemUI/res-keyguard/values/styles.xml @@ -17,7 +17,7 @@ */ --> - + diff --git a/packages/SystemUI/res/drawable/notification_guts_bg.xml b/packages/SystemUI/res/drawable/notification_guts_bg.xml index d62687883c357..bd9394bf9f8ad 100644 --- a/packages/SystemUI/res/drawable/notification_guts_bg.xml +++ b/packages/SystemUI/res/drawable/notification_guts_bg.xml @@ -15,8 +15,9 @@ ~ limitations under the License --> - - + + diff --git a/packages/SystemUI/res/drawable/notification_material_bg.xml b/packages/SystemUI/res/drawable/notification_material_bg.xml index 1e9be2fb9b05f..085263a031cf7 100644 --- a/packages/SystemUI/res/drawable/notification_material_bg.xml +++ b/packages/SystemUI/res/drawable/notification_material_bg.xml @@ -16,10 +16,11 @@ --> - + \ No newline at end of file diff --git a/packages/SystemUI/res/values-night/colors.xml b/packages/SystemUI/res/values-night/colors.xml index 471f36b3849ee..5192e0a8e4d95 100644 --- a/packages/SystemUI/res/values-night/colors.xml +++ b/packages/SystemUI/res/values-night/colors.xml @@ -33,7 +33,7 @@ @*android:color/notification_primary_text_color_dark - @android:color/system_neutral1_800 + @*android:color/surface_dark @android:color/system_neutral1_50 @color/GM2_grey_500 diff --git a/packages/SystemUI/res/values/colors.xml b/packages/SystemUI/res/values/colors.xml index bc7fcde4ae5d4..98561d64c620d 100644 --- a/packages/SystemUI/res/values/colors.xml +++ b/packages/SystemUI/res/values/colors.xml @@ -158,7 +158,7 @@ #00000000 @*android:color/notification_default_color - @android:color/system_neutral2_100 + @*android:color/surface_light @android:color/system_neutral1_900 ?android:attr/colorAccent