mirror of
https://github.com/status-im/artproject.git
synced 2025-02-23 05:08:24 +00:00
Use actual list length in scss loop
This commit is contained in:
parent
6a272da65b
commit
cfb331133e
@ -40,7 +40,7 @@
|
|||||||
&__profile {
|
&__profile {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
|
||||||
@for $i from 1 through 8 {
|
@for $i from 1 through length($profile-colors) {
|
||||||
&:nth-of-type(#{$i}) {
|
&:nth-of-type(#{$i}) {
|
||||||
color: nth($profile-colors, $i);
|
color: nth($profile-colors, $i);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user