It is possible to have list of three colors:
$color-list: x y z;
And then apply these three colors by cycling through them and adding them to on an unordered list item.
I want:
<li>row 1</li> (gets color x)
<li>row 2</li> (gets color y)
<li>row 3</li> (gets color z)
<li>row 4</li> (gets color x)
and so on and so forth.
I had tried to use the @each (http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#each-directive) function but then it just stops applying color after the first time through the list. I want the colors to keep cycling until it runs out of list items to apply them to.
is this possible with sass?