blob: e3a2c2e5d434e620fe77fac6db89fdf42b9c7652 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
@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')), null);
@include props.materialize(map.values(meta.module-variables('vars')), 'dark');
}
}
|