blob: a2ee404b2323df415efa0e7e965d69effba6c4ce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
@use 'sass:map';
@use 'iro-sass/src/index' as iro;
@use 'include-media/dist/include-media' as media;
:root {
@include iro.props-assign;
@each $breakpoint in map.keys(media.$breakpoints) {
@include media.media('<=#{$breakpoint}') {
@include iro.props-assign($breakpoint);
}
}
@media (prefers-color-scheme: dark) {
@include iro.props-assign('dark');
}
}
|