I would like make a array with a loop in sass, but i don't know is possible. There is my expected output:
$light: #fff;
$gray: (
darken($light, 1%),
darken($light, 2%),
darken($light, 3%),
darken($light, 4%),
darken($light, 5%),
darken($light, 6%),
darken($light, 7%),
darken($light, 8%)
);
And this is my actual code:
$light: #fff;
$gray: (
@for $i from 1 through 8 {
darken($light, $i%),
}
);
P.S. This not working.
