blob: cfa1e008d9b2ecf789706100c7e887b359e40749 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
@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--classic {
:root {
@include props.materialize(map.get(vars.$themes, --classic));
@include props.materialize(map.values(meta.module-variables('vars')), null);
@include props.materialize(map.values(meta.module-variables('vars')), 'classic');
}
}
@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');
}
}
|