Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(material/core): remove core style parameters #25738

Merged
merged 2 commits into from Oct 3, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/material/core/_core.scss
Expand Up @@ -5,8 +5,7 @@
@use './focus-indicators/private';

// Mixin that renders all of the core styles that are not theme-dependent.
// TODO: Remove the mixin's parameters after all internal clients migrated
@mixin core($typography-config: null, $exclude-typography: false) {
@mixin core() {
@include ripple.ripple();
@include cdk.a11y-visually-hidden();
@include cdk.overlay();
Expand Down
3 changes: 1 addition & 2 deletions src/material/legacy-core/_core.scss
Expand Up @@ -5,10 +5,9 @@
@use '../core/focus-indicators/private';

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