Skip to content

Commit 28d3809

Browse files
committed
fix(material/radio): Allow typography mixin to consume 2018 style configs
See angular#21059 for context.
1 parent 89d5790 commit 28d3809

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material/radio/_radio-theme.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@import '../core/theming/palette';
22
@import '../core/theming/theming';
3+
@import '../core/typography/typography';
34
@import '../core/typography/typography-utils';
45

56
@mixin _mat-radio-color($palette) {
@@ -68,6 +69,7 @@
6869
}
6970

7071
@mixin mat-radio-typography($config-or-theme) {
72+
$config: mat-private-typography-normalized-config(mat-get-typography-config($config-or-theme));
7173
$config: mat-get-typography-config($config-or-theme);
7274
.mat-radio-button {
7375
font-family: mat-font-family($config);

0 commit comments

Comments
 (0)