File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
projects/material-css-vars/src/lib Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 12
12
@include _mat-mdc-checkbox-overwrites ();
13
13
@include _mat-mdc-chips-overwrites ();
14
14
@include _mat-mdc-date-picker-overwrites ();
15
+ @include _mat-mdc-progress-bar-overwrites ();
15
16
}
16
17
17
18
// ---------------------------
292
293
> .mat-calendar-body-cell-content :not (.mat-calendar-body-selected ):not (.mat-calendar-body-comparison-identical ) {
293
294
background : mat-css-color (500 , 0.3 , $palette );
294
295
}
296
+ }
297
+
298
+ // ---------------------------
299
+ // Progress Bar component
300
+ // ---------------------------
301
+ @mixin _mat-mdc-progress-bar-overwrites {
302
+ .mat-mdc-progress-bar {
303
+ & .mat-primary .mdc-linear-progress__buffer-bar {
304
+ @include mat-css-light-dark-theme-global () {
305
+ background-color : mat-css-color (500 , 0.25 , " primary" );
306
+ }
307
+ }
308
+ & .mat-accent .mdc-linear-progress__buffer-bar {
309
+ @include mat-css-light-dark-theme-global () {
310
+ background-color : mat-css-color (500 , 0.25 , " accent" );
311
+ }
312
+ }
313
+ & .mat-warn .mdc-linear-progress__buffer-bar {
314
+ @include mat-css-light-dark-theme-global () {
315
+ background-color : mat-css-color (500 , 0.25 , " warn" );
316
+ }
317
+ }
318
+ }
295
319
}
You can’t perform that action at this time.
0 commit comments