summaryrefslogtreecommitdiffstats
path: root/src/_vars.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/_vars.scss')
-rw-r--r--src/_vars.scss33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/_vars.scss b/src/_vars.scss
deleted file mode 100644
index 78ead7c..0000000
--- a/src/_vars.scss
+++ /dev/null
@@ -1,33 +0,0 @@
1@use 'sass:map';
2@use 'sass:meta';
3@use 'iro-sass/src/props';
4@use 'themes';
5
6@use 'vars.vars' as vars;
7@forward 'vars.vars';
8
9@mixin vars {
10 @each $theme-name, $theme in vars.$themes {
11 @if $theme-name == themes.$theme-default {
12 :root {
13 @include props.materialize(map.get($theme, 'light'));
14
15 @if map.has-key($theme, 'dark') {
16 @media (prefers-color-scheme: dark) {
17 @include props.materialize(map.get($theme, 'dark'));
18 }
19 }
20 }
21 } @else {
22 @include iro.bem-theme($theme-name) {
23 @include props.materialize(map.get($theme, 'light'));
24
25 @if map.has-key($theme, 'dark') {
26 @media (prefers-color-scheme: dark) {
27 @include props.materialize(map.get($theme, 'dark'));
28 }
29 }
30 }
31 }
32 }
33}