From 3a7447c3d44736d3843c415b2cc4c829c0e1d5c4 Mon Sep 17 00:00:00 2001 From: Johannes Ott Date: Fri, 31 May 2024 19:07:28 +0000 Subject: [PATCH] Replace deprecated material functions Signed-off-by: Johannes Ott --- ui/src/styles/theme.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/src/styles/theme.scss b/ui/src/styles/theme.scss index 108094a..7138343 100644 --- a/ui/src/styles/theme.scss +++ b/ui/src/styles/theme.scss @@ -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, ));