Skip to content

Commit f309aa6

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material/datepicker/_datepicker-theme.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@import '../core/style/private';
22
@import '../core/theming/palette';
33
@import '../core/theming/theming';
4+
@import '../core/typography/typography';
45
@import '../core/typography/typography-utils';
56

67

@@ -179,6 +180,7 @@ $mat-calendar-weekday-table-font-size: 11px !default;
179180
}
180181

181182
@mixin mat-datepicker-typography($config-or-theme) {
183+
$config: mat-private-typography-normalized-config(mat-get-typography-config($config-or-theme));
182184
$config: mat-get-typography-config($config-or-theme);
183185
.mat-calendar {
184186
font-family: mat-font-family($config);

0 commit comments

Comments
 (0)