From 93f3421538118ef9187c2bcd4a2aec24a8fcfc01 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Sat, 27 Jan 2024 09:38:40 +0100 Subject: [PATCH] fix(material-experimental/theming): incorrect track color for alternate progress bar palettes (#28484) Fixes that the track color for the progress bar didn't match the palette color. --- src/material-experimental/theming/_custom-tokens.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/material-experimental/theming/_custom-tokens.scss b/src/material-experimental/theming/_custom-tokens.scss index 4aa0131854f7..06f150933d15 100644 --- a/src/material-experimental/theming/_custom-tokens.scss +++ b/src/material-experimental/theming/_custom-tokens.scss @@ -1513,12 +1513,15 @@ primary: (), // Default, no overrides needed secondary: ( active-indicator-color: map.get($systems, md-sys-color, secondary), + track-color: map.get($systems, md-sys-color, secondary-container), ), tertiary: ( active-indicator-color: map.get($systems, md-sys-color, tertiary), + track-color: map.get($systems, md-sys-color, tertiary-container), ), error: ( active-indicator-color: map.get($systems, md-sys-color, error), + track-color: map.get($systems, md-sys-color, error-container), ), ); }