32 lines
899 B
SCSS
32 lines
899 B
SCSS
//@import "@angular/material/_theming";
|
|
@use '@angular/material' as mat;
|
|
|
|
@include mat.core();
|
|
|
|
$custom-theme-primary: mat.define-palette(mat.$deep-orange-palette, 500);
|
|
$custom-theme-accent: mat.define-palette(mat.$light-blue-palette, 100, 50, 200);
|
|
$custom-theme-warn: mat.define-palette(mat.$red-palette);
|
|
|
|
//$custom-theme: mat.define-light-theme($custom-theme-primary, $custom-theme-accent);
|
|
|
|
$my-theme: mat.define-light-theme(
|
|
(color: (
|
|
primary: $custom-theme-primary,
|
|
accent: $custom-theme-accent,
|
|
warn: $custom-theme-warn
|
|
),
|
|
typography: mat.define-typography-config(),
|
|
density: 0
|
|
)
|
|
);
|
|
|
|
//@include angular-material-theme($custom-theme);
|
|
//@include mat.core-theme($my-theme);
|
|
|
|
//@include mat.button-theme($my-theme);
|
|
//@include mat.toolbar-theme($my-theme);
|
|
//@include mat.card-theme($my-theme);
|
|
//@include mat.dialog-theme($my-theme);
|
|
|
|
@include mat.all-component-themes($my-theme);
|