Open luco opened 1 month ago
I'm willing if is there a way to make it work with something like this:
$colors: ( "c1": #593586, "c2": #94c350, "text": #666, "border": #e5e5e5, "black": #000, ); :root { @each $id, $color in $colors { --#{$id}: #{$color}; --#{$id}-rgb: #{toRGB($color)}; } }
It seems it doens't find the c1 variable, for example. Only when defined previously in :root.
I'm willing if is there a way to make it work with something like this:
It seems it doens't find the c1 variable, for example. Only when defined previously in :root.