Skip to content

Commit bccfae7

Browse files
committed
fix typography
1 parent 172357a commit bccfae7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/material/core/theming/_m2-inspection.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
@use 'sass:meta';
44
@use './theming';
55
@use '../typography/typography-utils';
6+
@use '../typography/typography';
67

78
$_internals: _mat-theming-internals-do-not-access;
89

@@ -85,7 +86,7 @@ $_typography-properties: (font, font-family, line-height, font-size, letter-spac
8586
@if not theme-has($theme, typography) {
8687
@error 'Typography information is not available on this theme.';
8788
}
88-
$typography: theming.get-typography-config($theme);
89+
$typography: typography.private-typography-to-2018-config(theming.get-typography-config($theme));
8990
@if $property == font {
9091
$font-weight: typography-utils.font-weight($typography, $typescale);
9192
$font-size: typography-utils.font-size($typography, $typescale);

0 commit comments

Comments
 (0)