Skip to content

Commit f798d9f

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material/snack-bar/_snack-bar-theme.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@import '../core/typography/typography';
12
@import '../core/typography/typography-utils';
23
@import '../core/theming/theming';
34
@import '../core/theming/palette';
@@ -23,6 +24,7 @@
2324
}
2425

2526
@mixin mat-snack-bar-typography($config-or-theme) {
27+
$config: mat-private-typography-normalized-config(mat-get-typography-config($config-or-theme));
2628
$config: mat-get-typography-config($config-or-theme);
2729
.mat-simple-snackbar {
2830
font: {

0 commit comments

Comments
 (0)