Skip to content

Commit 93f3421

Browse files
authored
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.
1 parent 5f1a7ea commit 93f3421

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/material-experimental/theming/_custom-tokens.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1513,12 +1513,15 @@
15131513
primary: (), // Default, no overrides needed
15141514
secondary: (
15151515
active-indicator-color: map.get($systems, md-sys-color, secondary),
1516+
track-color: map.get($systems, md-sys-color, secondary-container),
15161517
),
15171518
tertiary: (
15181519
active-indicator-color: map.get($systems, md-sys-color, tertiary),
1520+
track-color: map.get($systems, md-sys-color, tertiary-container),
15191521
),
15201522
error: (
15211523
active-indicator-color: map.get($systems, md-sys-color, error),
1524+
track-color: map.get($systems, md-sys-color, error-container),
15221525
),
15231526
);
15241527
}

0 commit comments

Comments
 (0)