File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 6
6
@use ' ./typography/all-typography' ;
7
7
8
8
// Mixin that renders all of the core styles that are not theme-dependent.
9
- @mixin core ($typography-config : null) {
10
- @include all-typography .all-component-typographies ($typography-config );
9
+ // TODO: Remove the `$exclude-typography` parameter once `ng update` automatically migrates
10
+ // client theme applications to manually include the typography mixin.
11
+ @mixin core ($typography-config : null, $exclude-typography : false) {
12
+ @if not $exclude-typography {
13
+ @include all-typography .all-component-typographies ($typography-config );
14
+ }
11
15
@include ripple .ripple ();
12
16
@include cdk .a11y-visually-hidden ();
13
17
@include cdk .overlay ();
Original file line number Diff line number Diff line change 7
7
@use ' ../core/focus-indicators/private' ;
8
8
9
9
// Mixin that renders all of the core styles that are not theme-dependent.
10
+ // TODO: Remove the `$exclude-typography` parameter once `ng update` automatically migrates
11
+ // client theme applications to manually include the typography mixin.
10
12
/// @deprecated Use `mat.core` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
11
13
/// @breaking-change 17.0.0
12
- @mixin core ($typography-config : null) {
13
- @include all-typography .all-legacy-component-typographies ($typography-config );
14
+ @mixin core ($typography-config : null, $exclude-typography : false) {
15
+ @if not $exclude-typography {
16
+ @include all-typography .all-legacy-component-typographies ($typography-config );
17
+ }
14
18
@include ripple .ripple ();
15
19
@include cdk .a11y-visually-hidden ();
16
20
@include cdk .overlay ();
You can’t perform that action at this time.
0 commit comments