Skip to content

Commit 3ffb8aa

Browse files
committed
fix(material-experimental/mdc-progress-bar): use color.adjust
1 parent d2ff033 commit 3ffb8aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material-experimental/mdc-progress-bar/_progress-bar-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// writing, their buffer color is hardcoded to #e6e6e6 which both doesn't account for theming
1010
// and doesn't match the Material design spec. For now we approximate the buffer background by
1111
// applying an opacity to the color of the bar.
12-
$buffer-color: rgba(mdc-theme-prop-value($color), 0.25);
12+
$buffer-color: color.adjust(mdc-theme-prop-value($color), $alpha: -0.75);
1313
@include mdc-linear-progress-bar-color($color, $query: mdc-helpers.$mat-theme-styles-query);
1414
@include mdc-linear-progress-buffer-color($buffer-color,
1515
$query: mdc-helpers.$mat-theme-styles-query);

0 commit comments

Comments
 (0)