Skip to content

Commit

Permalink
Replace deprecated material functions
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Ott <[email protected]>
  • Loading branch information
DerOetzi committed May 31, 2024
1 parent fba75f4 commit 3a7447c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ui/src/styles/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@ $md-learninghousewarn: (
)
);

$learninghouse-primary: mat.define-palette($md-learninghouseprimary);
$learninghouse-accent: mat.define-palette($md-learninghouseaccent);
$learninghouse-warn: mat.define-palette($md-learninghousewarn);
$learninghouse-primary: mat.m2-define-palette($md-learninghouseprimary);
$learninghouse-accent: mat.m2-define-palette($md-learninghouseaccent);
$learninghouse-warn: mat.m2-define-palette($md-learninghousewarn);

$learninghouse-theme: mat.define-light-theme((color: (primary: $learninghouse-primary,
$learninghouse-theme: mat.m2-define-light-theme((color: (primary: $learninghouse-primary,
accent: $learninghouse-accent,
warn: $learninghouse-warn,
),
typography: mat.define-typography-config(),
typography: mat.m2-define-typography-config(),
density: 0,
));

Expand Down

0 comments on commit 3a7447c

Please sign in to comment.