Skip to content

Commit a9db920

Browse files
authored
fix(material-experimental/mdc-typography): fix always using mat-level (#21669)
1 parent 19f5258 commit a9db920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material-experimental/mdc-helpers/_mdc-helpers.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ $mat-typography-level-mappings: (
5353

5454
// Converts an Angular Material typography level config to an MDC one.
5555
@function mat-typography-level-config-to-mdc($mat-config, $mat-level) {
56-
$mdc-level: map-get($mat-typography-level-mappings, $mat-level);
56+
$mdc-level: map-get(map-get($mat-typography-level-mappings, mat-to-mdc), $mat-level);
5757

5858
@return map-merge(
5959
if($mdc-level,

0 commit comments

Comments
 (0)