Skip to content

Commit 2441996

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material/tabs/_tabs-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-tabs-color($config-or-theme) {
@@ -127,6 +128,7 @@
127128
}
128129

129130
@mixin mat-tabs-typography($config-or-theme) {
131+
$config: mat-private-typography-normalized-config(mat-get-typography-config($config-or-theme));
130132
$config: mat-get-typography-config($config-or-theme);
131133
.mat-tab-group {
132134
font-family: mat-font-family($config);

0 commit comments

Comments
 (0)