File tree 4 files changed +8
-0
lines changed 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1
1
@import ' ../core/theming/palette' ;
2
2
@import ' ../core/theming/theming' ;
3
3
@import ' ../core/style/form-common' ;
4
+ @import ' ../core/typography/typography' ;
4
5
@import ' ../core/typography/typography-utils' ;
5
6
6
7
@@ -57,6 +58,7 @@ $mat-form-field-fill-dedupe: 0;
57
58
}
58
59
59
60
@mixin mat-form-field-fill-typography ($config-or-theme ) {
61
+ $config : mat-private-typography-normalized-config (mat-get-typography-config ($config-or-theme ));
60
62
$config : mat-get-typography-config ($config-or-theme );
61
63
// The unit-less line-height from the font config.
62
64
$line-height : mat-line-height ($config , input );
Original file line number Diff line number Diff line change 1
1
@import ' ../core/theming/palette' ;
2
2
@import ' ../core/theming/theming' ;
3
3
@import ' ../core/style/form-common' ;
4
+ @import ' ../core/typography/typography' ;
4
5
@import ' ../core/typography/typography-utils' ;
5
6
6
7
@@ -69,6 +70,7 @@ $mat-form-field-legacy-dedupe: 0;
69
70
}
70
71
71
72
@mixin mat-form-field-legacy-typography ($config-or-theme ) {
73
+ $config : mat-private-typography-normalized-config (mat-get-typography-config ($config-or-theme ));
72
74
$config : mat-get-typography-config ($config-or-theme );
73
75
// The unit-less line-height from the font config.
74
76
$line-height : mat-line-height ($config , input );
Original file line number Diff line number Diff line change 1
1
@import ' ../core/theming/palette' ;
2
2
@import ' ../core/theming/theming' ;
3
3
@import ' ../core/style/form-common' ;
4
+ @import ' ../core/typography/typography' ;
4
5
@import ' ../core/typography/typography-utils' ;
5
6
6
7
@@ -80,6 +81,7 @@ $mat-form-field-outline-dedupe: 0;
80
81
}
81
82
82
83
@mixin mat-form-field-outline-typography ($config-or-theme ) {
84
+ $config : mat-private-typography-normalized-config (mat-get-typography-config ($config-or-theme ));
83
85
$config : mat-get-typography-config ($config-or-theme );
84
86
// The unit-less line-height from the font config.
85
87
$line-height : mat-line-height ($config , input );
Original file line number Diff line number Diff line change 1
1
@import ' ../core/theming/palette' ;
2
2
@import ' ../core/theming/theming' ;
3
3
@import ' ../core/style/form-common' ;
4
+ @import ' ../core/typography/typography' ;
4
5
@import ' ../core/typography/typography-utils' ;
5
6
6
7
@import ' ./form-field-fill-theme.scss' ;
@@ -130,6 +131,7 @@ $mat-form-field-dedupe: 0;
130
131
}
131
132
132
133
@mixin mat-form-field-typography ($config-or-theme ) {
134
+ $config : mat-private-typography-normalized-config (mat-get-typography-config ($config-or-theme ));
133
135
$config : mat-get-typography-config ($config-or-theme );
134
136
// The unit-less line-height from the font config.
135
137
$line-height : mat-line-height ($config , input );
You can’t perform that action at this time.
0 commit comments