File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/material/progress-spinner Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 16
16
@mixin color ($config-or-theme ) {
17
17
$config : theming .get-color-config ($config-or-theme );
18
18
$mdc-circular-progress-color-tokens : tokens-mdc-circular-progress .get-color-tokens ($config );
19
+ @include sass-utils .current-selector-or-root () {
19
20
20
- .mat-mdc-progress-spinner {
21
21
@include mdc-circular-progress-theme .theme ($mdc-circular-progress-color-tokens );
22
22
23
- & .mat-accent {
23
+ .mat-accent {
24
24
$color : theming .get-color-from-palette (map .get ($config , accent ));
25
25
@include mdc-circular-progress-theme .theme ((active- indicator- color: $color ));
26
26
}
27
27
28
- & .mat-warn {
28
+ .mat-warn {
29
29
$color : theming .get-color-from-palette (map .get ($config , warn ));
30
30
@include mdc-circular-progress-theme .theme ((active- indicator- color: $color ));
31
31
}
You can’t perform that action at this time.
0 commit comments