Skip to content

Commit

Permalink
update syntax for material palette
Browse files Browse the repository at this point in the history
  • Loading branch information
peggimann committed Oct 21, 2024
1 parent db2d01a commit bbd9169
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/style/custom_angular.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
@import "_variables";
@import "custom_angular.components";

$my-primary: mat.define-palette($pz-dark-blue-palette, 500);
$my-accent: mat.define-palette(mat.$grey-palette, 900);
$my-warn: mat.define-palette(mat.$red-palette);
$my-primary: mat.m2-define-palette($pz-dark-blue-palette, 500);
$my-accent: mat.m2-define-palette(mat.$m2-grey-palette, 900);
$my-warn: mat.m2-define-palette(mat.$m2-red-palette);

$pz-theme: mat.define-light-theme(
$pz-theme: mat.m2-define-light-theme(
(
color: (
primary: $my-primary,
Expand Down

0 comments on commit bbd9169

Please sign in to comment.