2021-06-16 18:18:12 -04:00
|
|
|
@use 'sass:map';
|
2021-09-08 18:39:40 -04:00
|
|
|
@use 'external/npm/node_modules/@angular/material/index' as mat;
|
2021-06-16 18:18:12 -04:00
|
|
|
@include mat.core();
|
2020-01-27 13:40:18 -05:00
|
|
|
|
2020-03-28 23:28:36 -04:00
|
|
|
html,
|
|
|
|
|
body {
|
2020-01-27 13:40:18 -05:00
|
|
|
padding: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
2020-06-02 12:08:53 -04:00
|
|
|
|
|
|
|
|
// Light theme
|
2021-06-16 18:18:12 -04: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 12:08:53 -04:00
|
|
|
|
|
|
|
|
// Dark theme
|
2021-06-16 18:18:12 -04: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-27 16:33:16 -08:00
|
|
|
(
|
2021-06-16 18:18:12 -04:00
|
|
|
'color': (
|
|
|
|
|
'background': (
|
|
|
|
|
background: #202124,
|
|
|
|
|
card: #202124,
|
|
|
|
|
),
|
|
|
|
|
'foreground': (
|
|
|
|
|
text: #bcc5ce,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
'background': (
|
|
|
|
|
background: #202124,
|
|
|
|
|
card: #202124,
|
|
|
|
|
),
|
|
|
|
|
'foreground': (
|
|
|
|
|
'text': #bcc5ce,
|
|
|
|
|
),
|
2021-01-27 16:33:16 -08:00
|
|
|
)
|
|
|
|
|
);
|
2020-06-02 12:08:53 -04:00
|
|
|
|
2020-07-13 20:39:13 +03:00
|
|
|
.light-theme {
|
2021-06-16 18:18:12 -04:00
|
|
|
@include mat.all-component-themes($light-theme);
|
2020-06-02 12:08:53 -04:00
|
|
|
}
|
|
|
|
|
|
2020-07-13 20:39:13 +03:00
|
|
|
.dark-theme {
|
2021-06-16 18:18:12 -04:00
|
|
|
@include mat.all-component-themes($dark-theme);
|
2020-06-02 12:08:53 -04:00
|
|
|
}
|