File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/material-experimental/mdc-progress-bar Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 8
8
// TODO(crisbeto): the buffer color should come from somewhere in MDC, however at the time of
9
9
// writing, their buffer color is hardcoded to #e6e6e6 which both doesn't account for theming
10
10
// and doesn't match the Material design spec. For now we approximate the buffer background by
11
- // lightening the color of the primary bar.
12
- $buffer-color : color .adjust (mdc-theme-color .prop-value ($color ), $lightness : 30 % );
11
+ // applying an opacity to the color of the bar.
12
+ $buffer-color : color .adjust (mdc-theme-color .prop-value ($color ), $alpha : -0.75 );
13
13
@include mdc-linear-progress .bar-color ($color , $query : mdc-helpers .$mat-theme-styles-query );
14
14
@include mdc-linear-progress .buffer-color ($buffer-color ,
15
15
$query : mdc-helpers .$mat-theme-styles-query );
You can’t perform that action at this time.
0 commit comments