Skip to content

Commit 1c2e601

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material/input/_input-theme.scss

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

@@ -59,6 +60,7 @@
5960
}
6061

6162
@mixin mat-input-typography($config-or-theme) {
63+
$config: mat-private-typography-normalized-config(mat-get-typography-config($config-or-theme));
6264
$config: mat-get-typography-config($config-or-theme);
6365
// The unit-less line-height from the font config.
6466
$line-height: mat-line-height($config, input);

0 commit comments

Comments
 (0)