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