Skip to content

Commit 6f0a465

Browse files
authored
fix(material/dialog): Emit tokens under mixin root selector (#27830)
1 parent 146bc23 commit 6f0a465

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/material/dialog/_dialog-theme.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
}
1515

1616
@mixin color($theme) {
17-
.mat-mdc-dialog-container {
17+
@include sass-utils.current-selector-or-root() {
1818
@include mdc-dialog-theme.theme(tokens-mdc-dialog.get-color-tokens($theme));
1919
}
2020
}
2121

2222
@mixin typography($theme) {
23-
.mat-mdc-dialog-container {
23+
@include sass-utils.current-selector-or-root() {
2424
@include mdc-dialog-theme.theme(tokens-mdc-dialog.get-typography-tokens($theme));
2525
}
2626
}

0 commit comments

Comments
 (0)