|
|
@@ -1,50 +0,0 @@
|
|
|
-@use '@angular/material' as mat;
|
|
|
-
|
|
|
-@include mat.core();
|
|
|
-
|
|
|
-$primary: mat.define-palette(mat.$indigo-palette, 500);
|
|
|
-$accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
|
|
|
-
|
|
|
-$theme: mat.define-light-theme((
|
|
|
- color: (
|
|
|
- primary: $primary,
|
|
|
- accent: $accent,
|
|
|
- ),
|
|
|
- typography: mat.define-typography-config(),
|
|
|
- density: 0,
|
|
|
-));
|
|
|
-
|
|
|
-// Define a dark theme
|
|
|
-$dark-theme: mat.define-dark-theme((
|
|
|
- color: (
|
|
|
- primary: mat.define-palette(mat.$pink-palette),
|
|
|
- accent: mat.define-palette(mat.$blue-grey-palette),
|
|
|
- ),
|
|
|
- // Only include `typography` and `density` in the default dark theme.
|
|
|
- typography: mat.define-typography-config(),
|
|
|
- density: 0,
|
|
|
-));
|
|
|
-
|
|
|
-@include mat.core-theme($dark-theme);
|
|
|
-@include mat.button-theme($dark-theme);
|
|
|
-@include mat.all-component-themes($dark-theme);
|
|
|
-
|
|
|
-
|
|
|
-@media (prefers-color-scheme: light) {
|
|
|
- // Use the `-color` mixins to only apply color styles without reapplying the same
|
|
|
- // typography and density styles.
|
|
|
- @include mat.core-color($theme);
|
|
|
- @include mat.button-color($theme);
|
|
|
-}
|
|
|
-
|
|
|
-.theme {
|
|
|
- @include mat.core-theme($theme);
|
|
|
- @include mat.button-theme($theme);
|
|
|
- @include mat.all-component-themes($theme);
|
|
|
-}
|
|
|
-
|
|
|
-.dark-theme {
|
|
|
- @include mat.core-theme($dark-theme);
|
|
|
- @include mat.button-theme($dark-theme);
|
|
|
- @include mat.all-component-themes($dark-theme);
|
|
|
-}
|