|
|
|
@ -6,19 +6,7 @@
|
|
|
|
|
// Include the common styles for Angular Material. We include this here so that you only
|
|
|
|
|
// have to load a single css file for Angular Material in your app.
|
|
|
|
|
// Be sure that you only ever include this mixin once!
|
|
|
|
|
// TODO(v15): As of v15 mat.legacy-core no longer includes default typography styles.
|
|
|
|
|
// The following line adds:
|
|
|
|
|
// 1. Default typography styles for all components
|
|
|
|
|
// 2. Styles for typography hierarchy classes (e.g. .mat-headline-1)
|
|
|
|
|
// If you specify typography styles for the components you use elsewhere, you should delete this line.
|
|
|
|
|
// If you don't need the default component typographies but still want the hierarchy styles,
|
|
|
|
|
// you can delete this line and instead use:
|
|
|
|
|
// `@include mat.legacy-typography-hierarchy(mat.define-typography-config());`
|
|
|
|
|
/* TODO(mdc-migration): Remove all-legacy-component-typographies once all legacy components are migrated*/
|
|
|
|
|
@include mat.all-legacy-component-typographies();
|
|
|
|
|
@include mat.all-component-typographies();
|
|
|
|
|
/* TODO(mdc-migration): Remove legacy-core once all legacy components are migrated*/
|
|
|
|
|
@include mat.legacy-core();
|
|
|
|
|
@include mat.core();
|
|
|
|
|
|
|
|
|
|
// import your custom themes
|
|
|
|
@ -27,18 +15,12 @@
|
|
|
|
|
@import 'theme-contrast.scss';
|
|
|
|
|
|
|
|
|
|
.theme-light {
|
|
|
|
|
/* TODO(mdc-migration): Remove all-legacy-component-themes once all legacy components are migrated*/
|
|
|
|
|
@include mat.all-legacy-component-themes($theme-light);
|
|
|
|
|
@include mat.all-component-themes($theme-light);
|
|
|
|
|
}
|
|
|
|
|
.theme-dark {
|
|
|
|
|
/* TODO(mdc-migration): Remove all-legacy-component-themes once all legacy components are migrated*/
|
|
|
|
|
@include mat.all-legacy-component-themes($theme-dark);
|
|
|
|
|
@include mat.all-component-themes($theme-dark);
|
|
|
|
|
}
|
|
|
|
|
.theme-contrast {
|
|
|
|
|
/* TODO(mdc-migration): Remove all-legacy-component-themes once all legacy components are migrated*/
|
|
|
|
|
@include mat.all-legacy-component-themes($theme-contrast);
|
|
|
|
|
@include mat.all-component-themes($theme-contrast);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|