37 lines
718 B
SCSS

@use 'sass:map';
@use '@angular/material' as mat;
@import './theme/theme-data';
$custom-theme: mat.m2-define-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;
}
}