Skip to content

Commit d354864

Browse files
committed
refactor: fix old theming config case
1 parent f040475 commit d354864

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/material/core/m2/_theming.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,13 @@
183183
);
184184

185185
$theme: _internalize-theme(theming.private-create-backwards-compatibility-theme($theme));
186-
$theme: map.set($theme, _mat-system, _define-system($primary, $accent, $warn, $is-dark));
186+
$system: _define-system(
187+
$primary: $primary,
188+
$accent: $accent,
189+
$warn: $warn,
190+
$is-dark: $is-dark,
191+
$typography: ());
192+
$theme: map.set($theme, _mat-system, $system);
187193
@return $theme;
188194
}
189195
// If the map pattern is used (1), we just pass-through the configurations for individual

0 commit comments

Comments
 (0)