@use 'iro-sass/src/index' as iro; @use 'include-media/dist/include-media' as media; @import 'vars'; @import 'general'; @import 'layouts/container'; @import 'objects/icon'; @import 'objects/heading'; @import 'objects/rule'; @import 'objects/button'; @import 'objects/text-field'; @import 'objects/field-label'; @import 'objects/radio'; :root { @include iro.props-assign; @include iro.props-assign('light-palette'); @each $breakpoint in map-keys(media.$breakpoints) { @include media.media('<=#{$breakpoint}') { @include iro.props-assign($breakpoint); } } } @include iro.bem-theme('grayscale') { @include iro.props-assign($root: --colors --grayscale-accent, $prefix: --colors --accent); } @include iro.bem-theme('raised') { @include iro.props-assign('light-raised-palette'); @include iro.props-assign; @include iro.bem-multi('at-theme' 'grayscale', 'theme' 'grayscale') { @include iro.props-assign($root: --colors --grayscale-accent, $prefix: --colors --accent); } } /*@media (prefers-color-scheme: dark) { @include iro.props-assign('dark'); @include iro.props-assign('dark-palette'); @include iro.bem-theme('grayscale') { @include iro.props-assign('dark', $root: --colors --grayscale-accent, $prefix: --colors --accent); } @include iro.bem-theme('raised') { @include iro.props-assign('dark-raised-palette'); @include iro.props-assign('dark'); @include iro.bem-multi('at-theme' 'grayscale', 'theme' 'grayscale') { @include iro.props-assign('dark', $root: --colors --grayscale-accent, $prefix: --colors --accent); } } }*/