From 681aceb96e8ff84aac6db87d16d1e9aa8e67d6d8 Mon Sep 17 00:00:00 2001 From: Lucas Dupin Date: Mon, 8 Feb 2021 15:18:45 -0800 Subject: Hook-up colorForeground to new style colorForeground and colorForegroundInverse were still pointing to white and black, inherited from Theme.Material. Bug: 171916625 Test: visual Change-Id: Ibf846b713da6cc03dd8dcfddf3168290a2f53a17 --- core/res/res/values/colors_device_defaults.xml | 2 + core/res/res/values/themes_device_defaults.xml | 86 ++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) diff --git a/core/res/res/values/colors_device_defaults.xml b/core/res/res/values/colors_device_defaults.xml index c8cccc45f634..f7234269f227 100644 --- a/core/res/res/values/colors_device_defaults.xml +++ b/core/res/res/values/colors_device_defaults.xml @@ -48,6 +48,8 @@ @color/system_main_200 @color/system_main_500 @color/system_main_400 + @color/text_color_primary_device_default_light + @color/text_color_primary_device_default_dark @color/error_color_material_dark diff --git a/core/res/res/values/themes_device_defaults.xml b/core/res/res/values/themes_device_defaults.xml index ee17f6f7ce21..ce4ee87e52a0 100644 --- a/core/res/res/values/themes_device_defaults.xml +++ b/core/res/res/values/themes_device_defaults.xml @@ -222,6 +222,8 @@ easier. @color/text_color_primary_device_default_dark @color/text_color_secondary_device_default_dark @color/text_color_tertiary_device_default_dark + @color/foreground_device_default_dark + @color/foreground_device_default_light @@ -1027,6 +1069,8 @@ easier. @color/text_color_primary_device_default_light @color/text_color_secondary_device_default_light @color/text_color_tertiary_device_default_light + @color/foreground_device_default_light + @color/foreground_device_default_dark @dimen/config_dialogCornerRadius @@ -1057,6 +1101,8 @@ easier. @color/text_color_primary_device_default_light @color/text_color_secondary_device_default_light @color/text_color_tertiary_device_default_light + @color/foreground_device_default_light + @color/foreground_device_default_dark @dimen/config_dialogCornerRadius @@ -1088,6 +1134,8 @@ easier. @color/text_color_primary_device_default_light @color/text_color_secondary_device_default_light @color/text_color_tertiary_device_default_light + @color/foreground_device_default_light + @color/foreground_device_default_dark @dimen/config_dialogCornerRadius @@ -1121,6 +1169,8 @@ easier. @color/text_color_primary_device_default_light @color/text_color_secondary_device_default_light @color/text_color_tertiary_device_default_light + @color/foreground_device_default_light + @color/foreground_device_default_dark @dimen/config_dialogCornerRadius @@ -1153,6 +1203,8 @@ easier. @color/text_color_primary_device_default_light @color/text_color_secondary_device_default_light @color/text_color_tertiary_device_default_light + @color/foreground_device_default_light + @color/foreground_device_default_dark @dimen/config_dialogCornerRadius @@ -1204,6 +1256,8 @@ easier. @color/text_color_primary_device_default_light @color/text_color_secondary_device_default_light @color/text_color_tertiary_device_default_light + @color/foreground_device_default_light + @color/foreground_device_default_dark @color/config_progress_background_tint @@ -1227,6 +1281,8 @@ easier. @color/text_color_primary_device_default_light @color/text_color_secondary_device_default_light @color/text_color_tertiary_device_default_light + @color/foreground_device_default_light + @color/foreground_device_default_dark @dimen/config_dialogCornerRadius @@ -1260,6 +1316,8 @@ easier. @color/text_color_primary_device_default_light @color/text_color_secondary_device_default_light @color/text_color_tertiary_device_default_light + @color/foreground_device_default_light + @color/foreground_device_default_dark @dimen/config_dialogCornerRadius @@ -1294,6 +1352,8 @@ easier. @color/text_color_primary_device_default_light @color/text_color_secondary_device_default_light @color/text_color_tertiary_device_default_light + @color/foreground_device_default_light + @color/foreground_device_default_dark @dimen/config_dialogCornerRadius @@ -1329,6 +1389,8 @@ easier. @color/text_color_primary_device_default_light @color/text_color_secondary_device_default_light @color/text_color_tertiary_device_default_light + @color/foreground_device_default_light + @color/foreground_device_default_dark @@ -1346,6 +1408,8 @@ easier. @color/text_color_primary_device_default_light @color/text_color_secondary_device_default_light @color/text_color_tertiary_device_default_light + @color/foreground_device_default_light + @color/foreground_device_default_dark @dimen/config_dialogCornerRadius @@ -1397,6 +1463,8 @@ easier. @color/text_color_primary_device_default_light @color/text_color_secondary_device_default_light @color/text_color_tertiary_device_default_light + @color/foreground_device_default_light + @color/foreground_device_default_dark @dimen/config_dialogCornerRadius @@ -1430,6 +1498,8 @@ easier. @color/text_color_primary_device_default_light @color/text_color_secondary_device_default_light @color/text_color_tertiary_device_default_light + @color/foreground_device_default_light + @color/foreground_device_default_dark @dimen/config_dialogCornerRadius @@ -1462,6 +1532,8 @@ easier. @color/text_color_primary_device_default_light @color/text_color_secondary_device_default_light @color/text_color_tertiary_device_default_light + @color/foreground_device_default_light + @color/foreground_device_default_dark @dimen/config_dialogCornerRadius @@ -1493,6 +1565,8 @@ easier. @color/text_color_primary_device_default_light @color/text_color_secondary_device_default_light @color/text_color_tertiary_device_default_light + @color/foreground_device_default_light + @color/foreground_device_default_dark @dimen/config_dialogCornerRadius @@ -1524,6 +1598,8 @@ easier. @color/text_color_primary_device_default_light @color/text_color_secondary_device_default_light @color/text_color_tertiary_device_default_light + @color/foreground_device_default_light + @color/foreground_device_default_dark @dimen/config_dialogCornerRadius @@ -1553,6 +1629,8 @@ easier. @color/text_color_primary_device_default_light @color/text_color_secondary_device_default_light @color/text_color_tertiary_device_default_light + @color/foreground_device_default_light + @color/foreground_device_default_dark @dimen/config_dialogCornerRadius @@ -1672,6 +1750,8 @@ easier. @color/text_color_primary_device_default_dark @color/text_color_secondary_device_default_dark @color/text_color_tertiary_device_default_dark + @color/foreground_device_default_dark + @color/foreground_device_default_light @dimen/config_dialogCornerRadius @@ -1702,6 +1782,8 @@ easier. @color/text_color_primary_device_default_light @color/text_color_secondary_device_default_light @color/text_color_tertiary_device_default_light + @color/foreground_device_default_light + @color/foreground_device_default_dark @style/Theme.DeviceDefault.Light.Dialog.Alert @@ -1742,6 +1824,8 @@ easier. @color/text_color_primary_device_default_light @color/text_color_secondary_device_default_light @color/text_color_tertiary_device_default_light + @color/foreground_device_default_light + @color/foreground_device_default_dark @dimen/config_dialogCornerRadius @@ -1775,6 +1859,8 @@ easier. @color/text_color_primary_device_default_light @color/text_color_secondary_device_default_light @color/text_color_tertiary_device_default_light + @color/foreground_device_default_light + @color/foreground_device_default_dark @dimen/config_dialogCornerRadius -- cgit v1.2.3-59-g8ed1b