Files
unity/resources/sass/admin/demo-ui/elements/_layout-themes.scss
glovetleong 8fa80e4a1a setup
2021-06-17 09:53:04 +08:00

28 lines
579 B
SCSS
Vendored

// Themes
$themes: ();
$themes: map_merge(
(
"default": (
),
"light-blue": (
),
),
$themes
);
@mixin theme-variant($app-container-bg, $app-sidebar-bg, $app-header-bg, $app-header-logo-bg) {
}
@each $theme, $colors in $themes {
$color1: nth($colors, 1);
$color2: nth($colors, 2);
$color3: nth($colors, 3);
$color4: nth($colors, 4);
.theme-#{$theme} {
@include theme-variant($color1, $color2, $color3, $color4);
}
}