Bartosz Sekula 94dcbda322
[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
2023-04-06 18:53:00 +02:00

25 lines
527 B
SCSS

@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);
}