[AAE-12782] Custom theme creation (#8450)

* [AAE-12782] Create custom theme

* copied ui from ACA

* fix some lints

* Added theme

* Added theme

* lint part 1

* lint part 2

* lint part 3 backg color

* lint part 4

* lint part 5

* lint part 6

* lint part 7

* update

* fix map_merge
This commit is contained in:
Bartosz Sekula
2023-04-06 18:53:00 +02:00
committed by GitHub
parent 5ddd039832
commit 94dcbda322
11 changed files with 396 additions and 3 deletions

View File

@@ -0,0 +1,24 @@
@use 'sass:map';
@import './theme/theme-data';
$custom-theme: mat-light-theme(
(
color: (
primary: map.get($palettes, primary),
accent: map.get($palettes, accent),
warn: map.get($palettes, warning),
),
typography: $app-typography,
)
);
@if $background-color {
$custom-theme: get-custom-background-color(
$background-color,
$custom-theme
);
}
@if $text-color {
$custom-theme: get-custom-text-color($text-color, $custom-theme);
}