Changed ng version before material migration

This commit is contained in:
Vito Albano
2023-11-14 00:25:17 +00:00
committed by VitoAlbano
parent d8f1946988
commit 9844dc4946
210 changed files with 759 additions and 424 deletions

View File

@@ -1,6 +1,15 @@
@use '@angular/material' as mat;
@import '~@alfresco/adf-core/theming';
@include mat.core($alfresco-typography);
// 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($alfresco-typography);`
@include mat.all-legacy-component-typographies($alfresco-typography);
@include mat.legacy-core();
$primary: mat.define-palette($alfresco-accent-orange);
$accent: mat.define-palette($alfresco-accent-purple);
@@ -14,7 +23,7 @@ $theme: mat.define-light-theme(
)
);
@include mat.all-component-themes($theme);
@include mat.all-legacy-component-themes($theme);
@include alfresco-material-theme($theme);
body,