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-contrast-primary: mat.define-palette(mat.$indigo-palette);
|
|
|
|
$theme-contrast-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-contrast-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-17 23:35:58 +01:00
|
|
|
$theme-contrast: mat.define-light-theme(
|
|
|
|
(
|
|
|
|
color: (
|
|
|
|
primary: $theme-contrast-primary,
|
|
|
|
accent: $theme-contrast-accent,
|
|
|
|
warn: $theme-contrast-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-17 23:35:58 +01:00
|
|
|
// @include mat.all-component-themes($theme-contrast);
|