fix: Working of theme selector (#2285)

This commit is contained in:
Pranav Deshmukh
2025-02-27 12:11:02 -06:00
committed by GitHub
parent ee62384ed2
commit daa2c1abb2
8 changed files with 108 additions and 29 deletions
+17
View File
@@ -0,0 +1,17 @@
@use '@angular/material' as mat;
$pictonblue-yellowgreen-primary: mat.define-palette(mat.$blue-palette, 400, 200, 600);
$pictonblue-yellowgreen-accent: mat.define-palette(mat.$light-green-palette, 400, 200, 600);
$pictonblue-yellowgreen-warn: mat.define-palette(mat.$red-palette);
$pictonblue-yellowgreen-theme: mat.define-light-theme(
$pictonblue-yellowgreen-primary,
$pictonblue-yellowgreen-accent,
$pictonblue-yellowgreen-warn
);
.pictonblue-yellowgreen-theme {
@include mat.all-component-themes($pictonblue-yellowgreen-theme);
}