diff options
Diffstat (limited to 'src/_core.scss')
-rw-r--r-- | src/_core.scss | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/_core.scss b/src/_core.scss new file mode 100644 index 0000000..a99d147 --- /dev/null +++ b/src/_core.scss | |||
@@ -0,0 +1,17 @@ | |||
1 | @use 'sass:map'; | ||
2 | @use 'iro-sass/src/props'; | ||
3 | |||
4 | @use 'core.vars' as vars; | ||
5 | @forward 'core.vars'; | ||
6 | |||
7 | @mixin styles--light { | ||
8 | :root { | ||
9 | @include props.materialize(map.get(vars.$themes, --light)); | ||
10 | } | ||
11 | } | ||
12 | |||
13 | @mixin styles--dark { | ||
14 | :root { | ||
15 | @include props.materialize(map.get(vars.$themes, --dark)); | ||
16 | } | ||
17 | } | ||