diff --git a/library-css/material.scss b/library-css/material.scss index 363cc6d..604498a 100644 --- a/library-css/material.scss +++ b/library-css/material.scss @@ -40,16 +40,16 @@ $warn-color: ( 900: #BD640D, contrast: (50: #ffffff) ); -$my-app-primary: mat.define-palette($primary-color); -$my-app-accent: mat.define-palette($secondary-color); -$my-app-warn: mat.define-palette($warn-color); -$my-app-theme: mat.define-light-theme(( +$my-app-primary: mat.m2-define-palette($primary-color); +$my-app-accent: mat.m2-define-palette($secondary-color); +$my-app-warn: mat.m2-define-palette($warn-color); +$my-app-theme: mat.m2-define-light-theme(( color: ( primary: $my-app-primary, accent: $my-app-accent, warn: $my-app-warn ), - typography: mat.define-typography-config(), + typography: mat.m2-define-typography-config(), density: 0, ));