Skip to content

Commit

Permalink
refactor(material/card): remove legacy theme normalization (#27825)
Browse files Browse the repository at this point in the history
This is no longer needed now that everything is using the new theme
inspection APIs
  • Loading branch information
mmalerba authored Sep 22, 2023
1 parent 943b5da commit cdf852e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/material/card/_card-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@
}
}

@mixin theme($theme-or-color-config) {
$theme: theming.private-legacy-get-theme($theme-or-color-config);

@mixin theme($theme) {
@include theming.private-check-duplicate-theme-styles($theme, 'mat-card') {
@if inspection.get-theme-version($theme) == 1 {
@include _theme-from-tokens(inspection.get-theme-tokens($theme));
Expand Down

0 comments on commit cdf852e

Please sign in to comment.