2020-06-16 18:40:48 +02:00
|
|
|
// Define the palettes for your theme using the Material Design palettes available in palette.scss
|
2023-03-15 15:32:10 +01:00
|
|
|
@use '@angular/material' as mat;
|
2020-06-16 18:40:48 +02:00
|
|
|
// (imported above). For each palette, you can optionally specify a default, lighter, and darker
|
|
|
|
// hue. Available color palettes: https://material.io/design/color/
|
2023-03-15 14:23:00 +01:00
|
|
|
$theme-dark-primary: mat.define-palette(mat.$indigo-palette);
|
|
|
|
$theme-dark-accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
|
2020-06-16 18:40:48 +02:00
|
|
|
|
|
|
|
// The warn palette is optional (defaults to red).
|
2023-03-15 14:23:00 +01:00
|
|
|
$theme-dark-warn: mat.define-palette(mat.$red-palette);
|
2020-06-16 18:40:48 +02:00
|
|
|
|
|
|
|
// Create the theme object (a Sass map containing all of the palettes).
|
2023-03-15 14:23:00 +01:00
|
|
|
$theme-dark: mat.define-dark-theme($theme-dark-primary, $theme-dark-accent, $theme-dark-warn);
|
2020-06-16 18:40:48 +02:00
|
|
|
|
|
|
|
// Include theme styles for core and each component used in your app.
|
|
|
|
// Alternatively, you can import and @include the theme mixins for each component
|
|
|
|
// that you are using.
|
2023-03-15 16:33:30 +01:00
|
|
|
@include mat.all-legacy-component-themes($theme-dark);
|