Skip to content

Commit 78de3a5

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material/chips/_chips-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
$mat-chip-remove-font-size: 18px;
@@ -87,6 +88,7 @@ $mat-chip-remove-font-size: 18px;
8788
}
8889

8990
@mixin mat-chips-typography($config-or-theme) {
91+
$config: mat-private-typography-normalized-config(mat-get-typography-config($config-or-theme));
9092
$config: mat-get-typography-config($config-or-theme);
9193
.mat-chip {
9294
font-size: mat-font-size($config, body-2);

0 commit comments

Comments
 (0)