2021-06-16 22:18:12 +00:00
|
|
|
@use 'sass:map';
|
2021-09-08 22:39:40 +00:00
|
|
|
@use 'external/npm/node_modules/@angular/material/index' as mat;
|
2021-06-16 22:18:12 +00:00
|
|
|
@include mat.core();
|
2020-01-27 18:40:18 +00:00
|
|
|
|
2020-03-29 03:28:36 +00:00
|
|
|
html,
|
|
|
|
|
body {
|
2020-01-27 18:40:18 +00:00
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
2020-06-02 16:08:53 +00:00
|
|
|
|
|
|
|
|
// Light theme
|
2021-06-16 22:18:12 +00:00
|
|
|
$light-primary: mat.define-palette(mat.$grey-palette, 700, 200);
|
|
|
|
|
$light-accent: mat.define-palette(mat.$blue-palette, 800);
|
|
|
|
|
$light-theme: mat.define-light-theme($light-primary, $light-accent);
|
2020-06-02 16:08:53 +00:00
|
|
|
|
|
|
|
|
// Dark theme
|
2021-06-16 22:18:12 +00:00
|
|
|
$dark-primary: mat.define-palette(mat.$blue-grey-palette, 50);
|
|
|
|
|
$dark-accent: mat.define-palette(mat.$blue-palette, 200);
|
|
|
|
|
$dark-theme: map.deep-merge(
|
|
|
|
|
mat.define-dark-theme($dark-primary, $dark-accent),
|
2021-01-28 00:33:16 +00:00
|
|
|
(
|
2021-06-16 22:18:12 +00:00
|
|
|
'color': (
|
|
|
|
|
'background': (
|
|
|
|
|
background: #202124,
|
|
|
|
|
card: #202124,
|
|
|
|
|
),
|
|
|
|
|
'foreground': (
|
|
|
|
|
text: #bcc5ce,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
'background': (
|
|
|
|
|
background: #202124,
|
|
|
|
|
card: #202124,
|
|
|
|
|
),
|
|
|
|
|
'foreground': (
|
|
|
|
|
'text': #bcc5ce,
|
|
|
|
|
),
|
2021-01-28 00:33:16 +00:00
|
|
|
)
|
|
|
|
|
);
|
2020-06-02 16:08:53 +00:00
|
|
|
|
2020-07-13 17:39:13 +00:00
|
|
|
.light-theme {
|
2021-06-16 22:18:12 +00:00
|
|
|
@include mat.all-component-themes($light-theme);
|
2020-06-02 16:08:53 +00:00
|
|
|
}
|
|
|
|
|
|
2020-07-13 17:39:13 +00:00
|
|
|
.dark-theme {
|
2021-06-16 22:18:12 +00:00
|
|
|
@include mat.all-component-themes($dark-theme);
|
2020-06-02 16:08:53 +00:00
|
|
|
}
|