@use 'iro-sass/src/index' as iro; @use 'include-media/dist/include-media' as media; :root { @include iro.props-assign('dims'); @each $breakpoint in map-keys(media.$breakpoints) { @include media.media('<=#{$breakpoint}') { @include iro.props-assign($breakpoint); } } @include iro.props-assign('colors'); @include iro.props-assign('palette-light'); @media (prefers-color-scheme: dark) { @include iro.props-assign('colors-dark'); @include iro.props-assign('palette-dark'); } } @include iro.bem-theme('dark') { @include iro.props-assign('colors'); @include iro.props-assign('colors-dark'); @include iro.props-assign('palette-dark'); } @include iro.bem-theme('def') { @include iro.props-assign('colors'); @include iro.props-assign('palette-light'); @media (prefers-color-scheme: dark) { @include iro.props-assign('colors-dark'); @include iro.props-assign('palette-dark'); } } @include iro.bem-theme('hi') { @include iro.props-assign('colors'); @include iro.props-assign('palette-light-hi'); @media (prefers-color-scheme: dark) { @include iro.props-assign('colors-dark'); @include iro.props-assign('palette-dark-hi'); } } @include iro.bem-theme('lo') { @include iro.props-assign('colors'); @include iro.props-assign('palette-light-lo'); @media (prefers-color-scheme: dark) { @include iro.props-assign('colors-dark'); @include iro.props-assign('palette-dark-lo'); } } @include iro.bem-theme('up') { @include iro.props-assign('colors'); @include iro.props-assign('palette-light-hi'); @media (prefers-color-scheme: dark) { @include iro.props-assign('colors-dark'); @include iro.props-assign('palette-dark-lo'); } } @include iro.bem-theme('down') { @include iro.props-assign('colors'); @include iro.props-assign('palette-light-lo'); @media (prefers-color-scheme: dark) { @include iro.props-assign('colors-dark'); @include iro.props-assign('palette-dark-hi'); } } @include iro.bem-theme('inv') { @include iro.props-assign('colors-dark'); @include iro.props-assign('palette-dark'); @media (prefers-color-scheme: dark) { @include iro.props-assign('colors'); @include iro.props-assign('palette-light'); } }