Upgrade Angular and fix

This commit is contained in:
2023-04-14 12:48:22 +02:00
parent 9b914b211d
commit 4f42243f20
8 changed files with 40 additions and 51 deletions

View File

@@ -3,8 +3,8 @@
* https://materialtheme.arcsine.dev
*/
@use '~@angular/material' as mat;
@import '~@angular/material/theming';
@use '@angular/material' as mat;
@import '@angular/material/theming';
// Include the common styles for Angular Material. We include this here so that you only
// have to load a single css file for Angular Material in your app.
@@ -30,6 +30,10 @@ $fontConfig: (
input: mat.define-typography-level(inherit, 1.125, 400, 'Roboto', 1.5px)
);
// Compute font config
@include mat.core();
// Foreground Elements
// Light Theme Text
@@ -144,9 +148,6 @@ mat.$dark-theme-background-palette: (
disabled-list-option: $dark-bg-lighter-10,
);
// Compute font config
@include mat.core($fontConfig);
// Theme Config
body {

View File

@@ -3,8 +3,8 @@
* https://materialtheme.arcsine.dev
*/
@use '~@angular/material' as mat;
@import '~@angular/material/theming';
@use '@angular/material' as mat;
@import '@angular/material/theming';
// Include the common styles for Angular Material. We include this here so that you only
// have to load a single css file for Angular Material in your app.