Skip to content

Commit 28cbe03

Browse files
committed
fixup! fix(material-experimental/mdc-typography): strip typography properties with null value
1 parent 1975f72 commit 28cbe03

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ $mat-typography-2018-level-mappings: (
116116
),
117117
()));
118118

119+
// We need to strip out any keys with a null value. Leaving them in will cause MDC to emit CSS
120+
// variables with no fallback value, which breaks some builds.
119121
$result: ();
120122
@each $property, $value in $result-with-nulls {
121123
@if $value != null {

0 commit comments

Comments
 (0)