Skip to content

Commit

Permalink
fixed style template generation (#2996)
Browse files Browse the repository at this point in the history
  • Loading branch information
VitoAlbano committed Feb 17, 2023
1 parent d68deab commit 910a6c2
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 910a6c2

Please sign in to comment.