Skip to content

Commit f8252d8

Browse files
authored
fix(material/progress-spinner): Emit tokens under mixin root selector (#27594)
1 parent dfba0ed commit f8252d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/material/progress-spinner/_progress-spinner-theme.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616
@mixin color($config-or-theme) {
1717
$config: theming.get-color-config($config-or-theme);
1818
$mdc-circular-progress-color-tokens: tokens-mdc-circular-progress.get-color-tokens($config);
19+
@include sass-utils.current-selector-or-root() {
1920

20-
.mat-mdc-progress-spinner {
2121
@include mdc-circular-progress-theme.theme($mdc-circular-progress-color-tokens);
2222

23-
&.mat-accent {
23+
.mat-accent {
2424
$color: theming.get-color-from-palette(map.get($config, accent));
2525
@include mdc-circular-progress-theme.theme((active-indicator-color: $color));
2626
}
2727

28-
&.mat-warn {
28+
.mat-warn {
2929
$color: theming.get-color-from-palette(map.get($config, warn));
3030
@include mdc-circular-progress-theme.theme((active-indicator-color: $color));
3131
}

0 commit comments

Comments
 (0)