mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
39 lines
699 B
SCSS
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;
|
|
}
|
|
}
|