Upgrade to Angular 16
Merge `angular-update-16` into `dev` branch
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
@use '@angular/material' as mat;
|
||||
|
||||
$pink-bluegrey-primary: mat.define-palette(mat.$pink-palette, 500, 300, 700);
|
||||
$pink-bluegrey-accent: mat.define-palette(mat.$blue-grey-palette, 400, 200, 600);
|
||||
$pink-bluegrey-warn: mat.define-palette(mat.$red-palette);
|
||||
$pink-bluegrey-color-config: (
|
||||
primary: mat.define-palette(mat.$pink-palette, 500, 300, 700),
|
||||
accent: mat.define-palette(mat.$blue-grey-palette, 400, 200, 600),
|
||||
warn: mat.define-palette(mat.$red-palette)
|
||||
);
|
||||
|
||||
$pink-bluegrey-theme: mat.define-light-theme($pink-bluegrey-primary, $pink-bluegrey-accent, $pink-bluegrey-warn);
|
||||
$pink-bluegrey-theme: mat.define-light-theme(
|
||||
(
|
||||
color: $pink-bluegrey-color-config
|
||||
)
|
||||
);
|
||||
|
||||
.pink-bluegrey-theme {
|
||||
@include mat.all-component-themes($pink-bluegrey-theme);
|
||||
@include mat.all-component-colors($pink-bluegrey-theme);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user