Skip to content

Commit 2c47ecb

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material/grid-list/_grid-list-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
@import '../core/style/list-common';
56

@@ -8,6 +9,7 @@
89
@mixin mat-grid-list-color($config-or-theme) {}
910

1011
@mixin mat-grid-list-typography($config-or-theme) {
12+
$config: mat-private-typography-normalized-config(mat-get-typography-config($config-or-theme));
1113
$config: mat-get-typography-config($config-or-theme);
1214
.mat-grid-tile-header,
1315
.mat-grid-tile-footer {

0 commit comments

Comments
 (0)