$colors = {
foo: red,
bar: green
}
each-it() {
for $prop in $colors {
$color = $colors[$prop]; //return
{block};
}
}
+each-it() {
body {
color: $color; //error :(
}
}
$themes = {
default: {
color: black,
bg: white
},
dark: {
color: white,
bg: black
},
}
each-theme()
for theme in $themes
data = $themes[theme]
body._theme-{theme} &
color: data['color']
background-color: data['bg']