Project setup + navigation

This commit is contained in:
2023-02-15 19:20:22 +01:00
parent 0b34ec0b1b
commit 266a7cd21d
22 changed files with 5273 additions and 813 deletions

32
src/theme.scss Normal file
View File

@@ -0,0 +1,32 @@
@use 'sass:map';
@use '/node_modules/@angular/material' as mat;
@import "/node_modules/@angular/material/theming";
@include mat.core();
$angular-primary: mat.define-palette(mat.$blue-palette, 500, 100, 900);
$angular-accent: mat.define-palette(mat.$green-palette, A200, A100, A400);
$angular-warn: mat.define-palette(mat.$red-palette);
$angular-theme: mat.define-dark-theme(
(
color: (
primary: $angular-primary,
accent: $angular-accent,
warn: $angular-warn
),
)
);
@include mat.all-component-themes($angular-theme);
$color-config: mat.get-color-config($angular-theme);
$background: map.get($color-config, 'background');
$text: map.get($color-config, 'foreground');
body {
background-color: map.get($background, 'background');
}
* {
color: map.get($text, 'text');
}