Skip to content

Commit fe35b18

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material/list/_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

@@ -43,6 +44,7 @@
4344
}
4445

4546
@mixin mat-list-typography($config-or-theme) {
47+
$config: mat-private-typography-normalized-config(mat-get-typography-config($config-or-theme));
4648
$config: mat-get-typography-config($config-or-theme);
4749
$font-family: mat-font-family($config);
4850

0 commit comments

Comments
 (0)