-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@each multiple assign #394
Comments
I am getting the same error with the following: .tabs {
@each $slug, $color in (alpha, #babdc7), (bravo, #7c459b), (charlie, #49c8f5) {
&.#{$slug} {
border-bottom-color: $color;
}
}
} Output is correct when I run the same through SassMeister.com |
Thanks for the reports and the link to the docs ... I had assumed that this feature was only for iterating over maps (which LibSass doesn't support yet), but iterating over lists of lists should be fixable in the short term. |
Fixed by #571 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://sass-lang.com/documentation/file.SASS_REFERENCE.html#each-multi-assign
Warning: C:/[...]/file:25: error: expected 'in' keyword in @each directive
@each $name, $value in $icons {
.icon-#{$name}:before {
@extend .icon-font;
content: $value;
}
}
The text was updated successfully, but these errors were encountered: