summaryrefslogtreecommitdiffstats
path: root/src/_core.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/_core.scss')
-rw-r--r--src/_core.scss5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/_core.scss b/src/_core.scss
index a99d147..aeea3ce 100644
--- a/src/_core.scss
+++ b/src/_core.scss
@@ -1,17 +1,20 @@
1@use 'sass:map'; 1@use 'sass:map';
2@use 'sass:meta';
2@use 'iro-sass/src/props'; 3@use 'iro-sass/src/props';
3 4
4@use 'core.vars' as vars; 5@use 'core.vars' as vars;
5@forward 'core.vars'; 6@forward 'core.vars';
6 7
7@mixin styles--light { 8@mixin styles {
8 :root { 9 :root {
9 @include props.materialize(map.get(vars.$themes, --light)); 10 @include props.materialize(map.get(vars.$themes, --light));
11 @include props.materialize(map.values(meta.module-variables('vars')), null);
10 } 12 }
11} 13}
12 14
13@mixin styles--dark { 15@mixin styles--dark {
14 :root { 16 :root {
15 @include props.materialize(map.get(vars.$themes, --dark)); 17 @include props.materialize(map.get(vars.$themes, --dark));
18 @include props.materialize(map.values(meta.module-variables('vars')), 'dark');
16 } 19 }
17} 20}