Skip to content

Commit cdf852e

Browse files
authored
refactor(material/card): remove legacy theme normalization (#27825)
This is no longer needed now that everything is using the new theme inspection APIs
1 parent 943b5da commit cdf852e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/material/card/_card-theme.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,7 @@
8787
}
8888
}
8989

90-
@mixin theme($theme-or-color-config) {
91-
$theme: theming.private-legacy-get-theme($theme-or-color-config);
92-
90+
@mixin theme($theme) {
9391
@include theming.private-check-duplicate-theme-styles($theme, 'mat-card') {
9492
@if inspection.get-theme-version($theme) == 1 {
9593
@include _theme-from-tokens(inspection.get-theme-tokens($theme));

0 commit comments

Comments
 (0)