You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
858 B
SCSS
26 lines
858 B
SCSS
|
|
@import './color-swatches/day-foreground.scss';
|
|
@import './color-swatches/day-background.scss';
|
|
@import './color-swatches/red-warn.swatch.scss';
|
|
@import './color-swatches/green-primary.swatch.scss';
|
|
@import '~@angular/material/theming';
|
|
@include mat-core();
|
|
|
|
@function create-custom-theme($primary, $accent, $warn: mat-palette($mat-red)) {
|
|
@return (
|
|
primary: $primary,
|
|
accent: $accent,
|
|
warn: $warn,
|
|
is-dark: false,
|
|
foreground: $custom-day-theme-foreground,
|
|
background: $custom-day-theme-background
|
|
);
|
|
}
|
|
|
|
$green-primary: mat-palette($green-primary, 500, 300, A200);
|
|
$green-accent: mat-palette($mat-amber, A200, A100, A700);
|
|
$green-warn: mat-palette($red-warn, 500);
|
|
|
|
$green-day-theme: create-custom-theme($green-primary, $green-accent, $green-warn);
|
|
$green-night-theme: mat-dark-theme($green-primary, $green-accent, $green-warn);
|