From 910a6c27cbbb920519397c43b01311752dc0f382 Mon Sep 17 00:00:00 2001 From: Vito Albano Date: Fri, 17 Feb 2023 09:10:20 +0000 Subject: [PATCH] fixed style template generation (#2996) --- .../src/lib/ui/dynamic-theme/custom-theme.scss.tpl | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/projects/aca-content/src/lib/ui/dynamic-theme/custom-theme.scss.tpl b/projects/aca-content/src/lib/ui/dynamic-theme/custom-theme.scss.tpl index caab9aa04..948076f90 100644 --- a/projects/aca-content/src/lib/ui/dynamic-theme/custom-theme.scss.tpl +++ b/projects/aca-content/src/lib/ui/dynamic-theme/custom-theme.scss.tpl @@ -21,13 +21,18 @@ $alfresco-typography: get-mat-typography( $alfresco-typography ); -@include mat-core($alfresco-typography); +@include mat-core(); $palettes: get-mat-palettes($primary-color, $accent-color); $custom-theme: mat-light-theme( - map-get($palettes, primary), - map-get($palettes, accent), - map-get($palettes, warning), + ( + color: ( + primary: map-get($palettes, primary), + accent: map-get($palettes, accent), + warn: map-get($palettes, warning) + ), + typography: $alfresco-typography + ) ); @if $background-color {