Skip to content

Commit 0aa94ac

Browse files
mitchellwillsmmalerba
authored andcommitted
fix(material-experimental/mdc-radio): include form field styles in mdc-radio theme (#21168)
This mirrors how they are included in mdc-checkbox. Without this the radio label isn't styled. (cherry picked from commit 5a28f00)
1 parent 80a6bfb commit 0aa94ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material-experimental/mdc-radio/_radio-theme.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@import '../mdc-helpers/mdc-helpers';
2+
@import '@material/form-field/mixins.import';
23
@import '@material/radio/mixins';
34
@import '@material/radio/variables';
45
@import '@material/theme/functions.import';
@@ -43,6 +44,7 @@
4344
$config: mat-get-typography-config($config-or-theme);
4445
@include mat-using-mdc-typography($config) {
4546
@include mdc-radio-without-ripple($query: $mat-typography-styles-query);
47+
@include mdc-form-field-core-styles($query: $mat-typography-styles-query);
4648
}
4749
}
4850

0 commit comments

Comments
 (0)