@use 'sass:map'; @use 'iro-sass/src/iro-sass' as iro; @use 'include-media/dist/include-media' as media; @use 'props'; @use 'core.vars' as vars; @forward 'core.vars'; @mixin styles { @include iro.bem-theme('base') { background-color: props.get(vars.$theme, --bg-base); @include iro.bem-suffix('light') { @media (prefers-color-scheme: light) { background-color: props.get(vars.$theme, --bg-base); } } @include iro.bem-suffix('dark') { @media (prefers-color-scheme: dark) { background-color: props.get(vars.$theme, --bg-base); } } } @include iro.bem-theme('l1') { background-color: props.get(vars.$theme, --bg-l1); @include iro.bem-suffix('light') { @media (prefers-color-scheme: light) { background-color: props.get(vars.$theme, --bg-l1); } } @include iro.bem-suffix('dark') { @media (prefers-color-scheme: dark) { background-color: props.get(vars.$theme, --bg-l1); } } } @include iro.bem-theme('l2') { background-color: props.get(vars.$theme, --bg-l2); @include iro.bem-suffix('light') { @media (prefers-color-scheme: light) { background-color: props.get(vars.$theme, --bg-l2); } } @include iro.bem-suffix('dark') { @media (prefers-color-scheme: dark) { background-color: props.get(vars.$theme, --bg-l2); } } } @include iro.bem-theme('50') { background-color: props.get(vars.$theme, --base --50); @include iro.bem-suffix('light') { @media (prefers-color-scheme: light) { background-color: props.get(vars.$theme, --base --50); } } @include iro.bem-suffix('dark') { @media (prefers-color-scheme: dark) { background-color: props.get(vars.$theme, --base --50); } } } }