Skip to content

Commit 1456715

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material/select/_select-theme.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@import '../core/theming/theming';
33
@import '../core/style/private';
44
@import '../core/style/form-common';
5+
@import '../core/typography/typography';
56
@import '../core/typography/typography-utils';
67

78

@@ -64,6 +65,7 @@
6465
}
6566

6667
@mixin mat-select-typography($config-or-theme) {
68+
$config: mat-private-typography-normalized-config(mat-get-typography-config($config-or-theme));
6769
$config: mat-get-typography-config($config-or-theme);
6870
// The unit-less line-height from the font config.
6971
$line-height: mat-line-height($config, input);

0 commit comments

Comments
 (0)