mirror of
https://github.com/dkmstr/openuds-gui.git
synced 2024-12-21 13:33:48 +03:00
Refactor SCSS imports to use the new @use syntax and update map functions for better compatibility
This commit is contained in:
parent
3a9b8b93ad
commit
507e3bd9d9
@ -1,4 +1,4 @@
|
||||
@import "../../../globals.scss";
|
||||
@use "../../../globals.scss" as *;
|
||||
|
||||
.uds-nav {
|
||||
position: fixed;
|
||||
|
@ -1,4 +1,5 @@
|
||||
@use '@angular/material' as mat;
|
||||
@use "sass:map";
|
||||
|
||||
@include mat.elevation-classes();
|
||||
@include mat.app-background();
|
||||
@ -32,11 +33,11 @@ $angular-dark-theme: mat.m2-define-dark-theme(
|
||||
)
|
||||
);
|
||||
|
||||
$bg-default: map-get(map-get($angular-default-theme, background), background);
|
||||
$fg-default: map-get(map-get($angular-default-theme, foreground), base);
|
||||
$bg-default: map.get(map.get($angular-default-theme, background), background);
|
||||
$fg-default: map.get(map.get($angular-default-theme, foreground), base);
|
||||
|
||||
$bg-dark: map-get(map-get($angular-dark-theme, background), background);
|
||||
$fg-dark: map-get(map-get($angular-dark-theme, foreground), base);
|
||||
$bg-dark: map.get(map.get($angular-dark-theme, background), background);
|
||||
$fg-dark: map.get(map.get($angular-dark-theme, foreground), base);
|
||||
|
||||
// Set variables for several backgrounds
|
||||
$bg-title: linear-gradient(60deg, rgb(75, 82, 102), rgb(70, 93, 156));
|
||||
|
@ -1,6 +1,6 @@
|
||||
@use '@angular/material' as mat;
|
||||
|
||||
@import 'globals.scss';
|
||||
@use 'globals.scss' as *;
|
||||
|
||||
/* Default, light theme */
|
||||
@include mat.all-component-themes($angular-default-theme);
|
||||
|
Loading…
Reference in New Issue
Block a user