From 0c1c91506a522342fb1a3c4493df5cb5a8ae45c5 Mon Sep 17 00:00:00 2001 From: Marcelo Arteiro Date: Fri, 17 Mar 2023 13:45:17 +0000 Subject: [PATCH] Fixing Material Tokens inheriting wrong theme Bug: 271951574 Test: Manual Merged-In: Ifa3338785f87484c9aa2322768b4ebfc61be1f95 Change-Id: Ifa3338785f87484c9aa2322768b4ebfc61be1f95 --- .../res/res/values/themes_device_defaults.xml | 345 +++++++----------- 1 file changed, 139 insertions(+), 206 deletions(-) diff --git a/core/res/res/values/themes_device_defaults.xml b/core/res/res/values/themes_device_defaults.xml index 2e3d145130a8d..a64bb21ad53a8 100644 --- a/core/res/res/values/themes_device_defaults.xml +++ b/core/res/res/values/themes_device_defaults.xml @@ -250,16 +250,16 @@ easier. @color/system_secondary_fixed_dim @color/system_on_error_container_dark @color/system_on_secondary_fixed - @color/system_on_surface_dark + @color/system_on_surface_light @color/system_tertiary_fixed_dim @color/system_on_tertiary_fixed @color/system_primary_fixed_dim @color/system_secondary_container_dark @color/system_error_container_dark @color/system_on_primary_fixed - @color/system_primary_dark + @color/system_primary_light @color/system_secondary_fixed - @color/system_surface_dark + @color/system_surface_light @color/system_surface_variant_dark @color/system_tertiary_container_dark @color/system_tertiary_fixed @@ -282,7 +282,6 @@ easier. @color/system_on_primary_dark @color/system_on_surface_dark @color/system_surface_container_dark - @@ -920,16 +913,16 @@ easier. @color/system_secondary_fixed_dim @color/system_on_error_container_dark @color/system_on_secondary_fixed - @color/system_on_surface_dark + @color/system_on_surface_light @color/system_tertiary_fixed_dim @color/system_on_tertiary_fixed @color/system_primary_fixed_dim @color/system_secondary_container_dark @color/system_error_container_dark @color/system_on_primary_fixed - @color/system_primary_dark + @color/system_primary_light @color/system_secondary_fixed - @color/system_surface_dark + @color/system_surface_light @color/system_surface_variant_dark @color/system_tertiary_container_dark @color/system_tertiary_fixed @@ -952,7 +945,6 @@ easier. @color/system_on_primary_dark @color/system_on_surface_dark @color/system_surface_container_dark - @@ -1124,16 +1115,16 @@ easier. @color/system_secondary_fixed_dim @color/system_on_error_container_dark @color/system_on_secondary_fixed - @color/system_on_surface_dark + @color/system_on_surface_light @color/system_tertiary_fixed_dim @color/system_on_tertiary_fixed @color/system_primary_fixed_dim @color/system_secondary_container_dark @color/system_error_container_dark @color/system_on_primary_fixed - @color/system_primary_dark + @color/system_primary_light @color/system_secondary_fixed - @color/system_surface_dark + @color/system_surface_light @color/system_surface_variant_dark @color/system_tertiary_container_dark @color/system_tertiary_fixed @@ -1156,7 +1147,6 @@ easier. @color/system_on_primary_dark @color/system_on_surface_dark @color/system_surface_container_dark - @@ -1312,16 +1301,16 @@ easier. @color/system_secondary_fixed_dim @color/system_on_error_container_dark @color/system_on_secondary_fixed - @color/system_on_surface_dark + @color/system_on_surface_light @color/system_tertiary_fixed_dim @color/system_on_tertiary_fixed @color/system_primary_fixed_dim @color/system_secondary_container_dark @color/system_error_container_dark @color/system_on_primary_fixed - @color/system_primary_dark + @color/system_primary_light @color/system_secondary_fixed - @color/system_surface_dark + @color/system_surface_light @color/system_surface_variant_dark @color/system_tertiary_container_dark @color/system_tertiary_fixed @@ -1344,7 +1333,6 @@ easier. @color/system_on_primary_dark @color/system_on_surface_dark @color/system_surface_container_dark - @@ -1976,16 +1958,16 @@ easier. @color/system_secondary_fixed_dim @color/system_on_error_container_dark @color/system_on_secondary_fixed - @color/system_on_surface_dark + @color/system_on_surface_light @color/system_tertiary_fixed_dim @color/system_on_tertiary_fixed @color/system_primary_fixed_dim @color/system_secondary_container_dark @color/system_error_container_dark @color/system_on_primary_fixed - @color/system_primary_dark + @color/system_primary_light @color/system_secondary_fixed - @color/system_surface_dark + @color/system_surface_light @color/system_surface_variant_dark @color/system_tertiary_container_dark @color/system_tertiary_fixed @@ -2008,7 +1990,6 @@ easier. @color/system_on_primary_dark @color/system_on_surface_dark @color/system_surface_container_dark - @@ -2298,16 +2278,16 @@ easier. @color/system_secondary_fixed_dim @color/system_on_error_container_light @color/system_on_secondary_fixed - @color/system_on_surface_light + @color/system_on_surface_dark @color/system_tertiary_fixed_dim @color/system_on_tertiary_fixed @color/system_primary_fixed_dim @color/system_secondary_container_light @color/system_error_container_light @color/system_on_primary_fixed - @color/system_primary_light + @color/system_primary_dark @color/system_secondary_fixed - @color/system_surface_light + @color/system_surface_dark @color/system_surface_variant_light @color/system_tertiary_container_light @color/system_tertiary_fixed @@ -2330,8 +2310,6 @@ easier. @color/system_on_primary_light @color/system_on_surface_light @color/system_surface_container_light - @color/system_surface_container_light - @@ -2487,16 +2463,16 @@ easier. @color/system_secondary_fixed_dim @color/system_on_error_container_light @color/system_on_secondary_fixed - @color/system_on_surface_light + @color/system_on_surface_dark @color/system_tertiary_fixed_dim @color/system_on_tertiary_fixed @color/system_primary_fixed_dim @color/system_secondary_container_light @color/system_error_container_light @color/system_on_primary_fixed - @color/system_primary_light + @color/system_primary_dark @color/system_secondary_fixed - @color/system_surface_light + @color/system_surface_dark @color/system_surface_variant_light @color/system_tertiary_container_light @color/system_tertiary_fixed @@ -2519,8 +2495,6 @@ easier. @color/system_on_primary_light @color/system_on_surface_light @color/system_surface_container_light - @color/system_surface_container_light - + @@ -3249,16 +3209,16 @@ easier. @color/system_secondary_fixed_dim @color/system_on_error_container_light @color/system_on_secondary_fixed - @color/system_on_surface_light + @color/system_on_surface_dark @color/system_tertiary_fixed_dim @color/system_on_tertiary_fixed @color/system_primary_fixed_dim @color/system_secondary_container_light @color/system_error_container_light @color/system_on_primary_fixed - @color/system_primary_light + @color/system_primary_dark @color/system_secondary_fixed - @color/system_surface_light + @color/system_surface_dark @color/system_surface_variant_light @color/system_tertiary_container_light @color/system_tertiary_fixed @@ -3281,8 +3241,6 @@ easier. @color/system_on_primary_light @color/system_on_surface_light @color/system_surface_container_light - @color/system_surface_container_light - @@ -3328,16 +3286,16 @@ easier. @color/system_secondary_fixed_dim @color/system_on_error_container_light @color/system_on_secondary_fixed - @color/system_on_surface_light + @color/system_on_surface_dark @color/system_tertiary_fixed_dim @color/system_on_tertiary_fixed @color/system_primary_fixed_dim @color/system_secondary_container_light @color/system_error_container_light @color/system_on_primary_fixed - @color/system_primary_light + @color/system_primary_dark @color/system_secondary_fixed - @color/system_surface_light + @color/system_surface_dark @color/system_surface_variant_light @color/system_tertiary_container_light @color/system_tertiary_fixed @@ -3360,8 +3318,6 @@ easier. @color/system_on_primary_light @color/system_on_surface_light @color/system_surface_container_light - @color/system_surface_container_light - @@ -3622,16 +3574,16 @@ easier. @color/system_secondary_fixed_dim @color/system_on_error_container_light @color/system_on_secondary_fixed - @color/system_on_surface_light + @color/system_on_surface_dark @color/system_tertiary_fixed_dim @color/system_on_tertiary_fixed @color/system_primary_fixed_dim @color/system_secondary_container_light @color/system_error_container_light @color/system_on_primary_fixed - @color/system_primary_light + @color/system_primary_dark @color/system_secondary_fixed - @color/system_surface_light + @color/system_surface_dark @color/system_surface_variant_light @color/system_tertiary_container_light @color/system_tertiary_fixed @@ -3654,8 +3606,6 @@ easier. @color/system_on_primary_light @color/system_on_surface_light @color/system_surface_container_light - @color/system_surface_container_light - @@ -4347,16 +4289,16 @@ easier. @color/system_secondary_fixed_dim @color/system_on_error_container_dark @color/system_on_secondary_fixed - @color/system_on_surface_dark + @color/system_on_surface_light @color/system_tertiary_fixed_dim @color/system_on_tertiary_fixed @color/system_primary_fixed_dim @color/system_secondary_container_dark @color/system_error_container_dark @color/system_on_primary_fixed - @color/system_primary_dark + @color/system_primary_light @color/system_secondary_fixed - @color/system_surface_dark + @color/system_surface_light @color/system_surface_variant_dark @color/system_tertiary_container_dark @color/system_tertiary_fixed @@ -4379,7 +4321,6 @@ easier. @color/system_on_primary_dark @color/system_on_surface_dark @color/system_surface_container_dark - @@ -4870,16 +4807,16 @@ easier. @color/system_secondary_fixed_dim @color/system_on_error_container_dark @color/system_on_secondary_fixed - @color/system_on_surface_dark + @color/system_on_surface_light @color/system_tertiary_fixed_dim @color/system_on_tertiary_fixed @color/system_primary_fixed_dim @color/system_secondary_container_dark @color/system_error_container_dark @color/system_on_primary_fixed - @color/system_primary_dark + @color/system_primary_light @color/system_secondary_fixed - @color/system_surface_dark + @color/system_surface_light @color/system_surface_variant_dark @color/system_tertiary_container_dark @color/system_tertiary_fixed @@ -4902,7 +4839,6 @@ easier. @color/system_on_primary_dark @color/system_on_surface_dark @color/system_surface_container_dark -