Skip to content

Commit c063917

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material/tooltip/_tooltip-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

56
$mat-tooltip-target-height: 22px;
@@ -21,6 +22,7 @@ $mat-tooltip-handset-vertical-padding:
2122
}
2223

2324
@mixin mat-tooltip-typography($config-or-theme) {
25+
$config: mat-private-typography-normalized-config(mat-get-typography-config($config-or-theme));
2426
$config: mat-get-typography-config($config-or-theme);
2527
.mat-tooltip {
2628
font-family: mat-font-family($config);

0 commit comments

Comments
 (0)