I have a class that is repeated multiple times. I'd like to change the text color of each class based on a list of colors that I define. If there are more elements than colors, the colors would need to start over. This is what I have so far, but it duplicates the colors for each element:
@colors: 'green', 'red', 'blue';
.view-priority-list-item-type {
.for(@colors); .-each(@color) {
color: @color;
}
}