Skip to content

Commit f11ecb3

Browse files
committed
fix(material/radio): Apply tokens at mixin root
Applies radio tokens at the theme mixin's root selector (or html if the mixin is called with no selector). This makes it easier for users to override tokens without worrying about specificity.
1 parent 47ac55f commit f11ecb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/radio/_radio-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
@mixin color($theme) {
2121
@include mdc-helpers.using-mdc-theme($theme) {
22-
.mat-mdc-radio-button {
22+
@include sass-utils.current-selector-or-root() {
2323
@include mdc-form-field.core-styles($query: mdc-helpers.$mdc-theme-styles-query);
2424
}
2525
}

0 commit comments

Comments
 (0)