forked from angular/components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_core.scss
22 lines (20 loc) · 887 Bytes
/
_core.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@use '@angular/cdk';
// Core styles that can be used to apply material design treatments to any element.
@use './ripple/ripple';
@use './focus-indicators/private';
@use './typography/all-typography';
// Mixin that renders all of the core styles that are not theme-dependent.
// TODO: Remove the `$exclude-typography` parameter once `ng update` automatically migrates
// client theme applications to manually include the typography mixin.
@mixin core($typography-config: null, $exclude-typography: false) {
@if not $exclude-typography {
@include all-typography.all-component-typographies($typography-config);
}
@include ripple.ripple();
@include cdk.a11y-visually-hidden();
@include cdk.overlay();
@include cdk.text-field-autosize();
@include cdk.text-field-autofill();
@include private.structural-styling('mat');
@include private.structural-styling('mat-mdc');
}