Skip to content

Commit

Permalink
fix(material-experimental/theming): incorrect track color for alterna…
Browse files Browse the repository at this point in the history
…te progress bar palettes (#28484)

Fixes that the track color for the progress bar didn't match the palette color.
  • Loading branch information
crisbeto authored Jan 27, 2024
1 parent 5f1a7ea commit 93f3421
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/material-experimental/theming/_custom-tokens.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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),
),
);
}
Expand Down

0 comments on commit 93f3421

Please sign in to comment.