Changed ng version before material migration

This commit is contained in:
Vito Albano
2023-11-14 00:25:17 +00:00
parent ee8b041950
commit e566ab9a0b
245 changed files with 590 additions and 474 deletions

View File

@@ -1,7 +1,16 @@
@use '@angular/material' as mat;
@import '../../lib/core/src/lib/styles/index';
@import '../../lib/core/src/lib/styles/typography';
@include mat.core;
// 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-legacy-typography-config());`
@include mat.all-legacy-component-typographies;
@include mat.legacy-core();
$primary: mat.define-palette($alfresco-accent-orange);
$accent: mat.define-palette($alfresco-accent-purple);
@@ -17,7 +26,7 @@ $theme: mat.define-light-theme(
)
);
@include mat.all-component-themes($theme);
@include mat.all-legacy-component-themes($theme);
@include alfresco-material-theme($theme);
$typography: map-get($theme, typography);