2023-09-08 17:20:05 +02:00

39 lines
699 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);
}
@if $base-font-size {
body,
html {
font-size: $base-font-size;
}
}
@if $font-family {
body,
html {
font-family: $font-family;
}
}