Skip to content

Commit 0f01fc0

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material/dialog/_dialog-theme.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@import '../core/style/private';
22
@import '../core/theming/palette';
33
@import '../core/theming/theming';
4+
@import '../core/typography/typography';
45
@import '../core/typography/typography-utils';
56

67

@@ -17,6 +18,7 @@
1718
}
1819

1920
@mixin mat-dialog-typography($config-or-theme) {
21+
$config: mat-private-typography-normalized-config(mat-get-typography-config($config-or-theme));
2022
$config: mat-get-typography-config($config-or-theme);
2123
.mat-dialog-title {
2224
@include mat-typography-level-to-styles($config, title);

0 commit comments

Comments
 (0)