AAE-21565 Replace deprecated @import with @use in all scss files (#11273)

This commit is contained in:
Amedeo Lepore
2025-11-07 10:28:26 +01:00
committed by GitHub
parent 38d98200a6
commit 43622266ce
6 changed files with 63 additions and 65 deletions
+13 -13
View File
@@ -1,18 +1,18 @@
@use 'sass:map';
@import './theme-configuration';
@import './typography';
@import './custom-theme-palettes';
@import './custom-background-color';
@import './custom-text-color';
@use 'theme-configuration';
@use 'typography';
@use 'custom-theme-palettes';
@use 'custom-background-color';
@use 'custom-text-color';
$primary-color: map.get($theme-config, 'primaryColor');
$accent-color: map.get($theme-config, 'accentColor');
$background-color: map.get($theme-config, 'backgroundColor');
$primary-color: map.get(theme-configuration.$theme-config, 'primaryColor');
$accent-color: map.get(theme-configuration.$theme-config, 'accentColor');
$background-color: map.get(theme-configuration.$theme-config, 'backgroundColor');
$text-color: map.get($theme-config, 'textColor');
$base-font-size: map.get($theme-config, 'baseFontSize');
$font-family: map.get($theme-config, 'fontFamily');
$text-color: map.get(theme-configuration.$theme-config, 'textColor');
$base-font-size: map.get(theme-configuration.$theme-config, 'baseFontSize');
$font-family: map.get(theme-configuration.$theme-config, 'fontFamily');
$app-typography: get-mat-typography($base-font-size, $font-family);
$app-typography: typography.get-mat-typography($base-font-size, $font-family);
$palettes: get-mat-palettes($primary-color, $accent-color);
$palettes: custom-theme-palettes.get-mat-palettes($primary-color, $accent-color);