Skip to content

Commit e73ba59

Browse files
authored
fix(material/core): remove core style parameters (#25738)
* fix(material/core): remove core style parameters * fix(material/core): dev-app theme
1 parent 67e3e3f commit e73ba59

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

integration/yarn-pnp-compat/src/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ $theme: mat.define-light-theme((
88
density: 0
99
));
1010

11-
@include mat.core($theme);
11+
@include mat.core();
1212

1313
@include mat.all-legacy-component-themes($theme);
1414
@include mat.all-component-themes($theme);

src/dev-app/theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ $candy-app-theme: mat.define-light-theme((
2121
// Include the common styles for Angular Material. We include this here so that you only
2222
// have to load a single css file for Angular Material in your app.
2323
// **Be sure that you only ever include this mixin once!**
24-
@include mat.core($candy-app-theme);
24+
@include mat.core();
2525

2626
// Include the default theme styles.
2727
@include mat.all-component-themes($candy-app-theme);

src/material/core/_core.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
@use './focus-indicators/private';
66

77
// Mixin that renders all of the core styles that are not theme-dependent.
8-
// TODO: Remove the mixin's parameters after all internal clients migrated
9-
@mixin core($typography-config: null, $exclude-typography: false) {
8+
@mixin core() {
109
@include ripple.ripple();
1110
@include cdk.a11y-visually-hidden();
1211
@include cdk.overlay();

src/material/legacy-core/_core.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55
@use '../core/focus-indicators/private';
66

77
// Mixin that renders all of the core styles that are not theme-dependent.
8-
// TODO: Remove the mixin's parameters after all internal clients migrated
98
/// @deprecated Use `mat.core` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
109
/// @breaking-change 17.0.0
11-
@mixin core($typography-config: null, $exclude-typography: false) {
10+
@mixin core() {
1211
@include ripple.ripple();
1312
@include cdk.a11y-visually-hidden();
1413
@include cdk.overlay();

0 commit comments

Comments
 (0)