mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
AAE-21565 Replace deprecated @import with @use in all scss files (#11273)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user