want to concatenate variable names in a loop
want the following results
.color01{
border-color: -sharp137ae9;
background-color:-sharp137ae9;
}
.color02{
border-color: -sharp30a66a;
background-color:-sharp30a66a;
}
...
I have some color variables
$color01: -sharp137ae9;
$color02: -sharp30a66a;
$color03: -sharpda424e;
$color04: -sharpe56281;
want to output through the following loop
@for $i from 1 through 9
{
&.color0-sharp{$i}
{
border-color: $color0-sharp{$i};
background-color: $color0-sharp{$i};
}
}
result $color0-sharp {$I}
cannot execute