blob: aeea3ce64a6f2c72f37f04aa043fc9e7806aa92c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
@use 'sass:map';
@use 'sass:meta';
@use 'iro-sass/src/props';
@use 'core.vars' as vars;
@forward 'core.vars';
@mixin styles {
:root {
@include props.materialize(map.get(vars.$themes, --light));
@include props.materialize(map.values(meta.module-variables('vars')), null);
}
}
@mixin styles--dark {
:root {
@include props.materialize(map.get(vars.$themes, --dark));
@include props.materialize(map.values(meta.module-variables('vars')), 'dark');
}
}
|