-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Undefined variable $ with postcss-each #98
Comments
It would be better if this can be resolved more gracefully via #12, though. |
same error. postcss.config.js sequence:
If I change postcss-simple-vars index.js line 178 but i still can't do this:
|
Sorry for the lack of clarification, if I understand the |
I setup a clean repo only include 'postcss-simple-vars' and 'postcss-each' ,then every thing works fine so I guess may be other plugin cause the problem. Thank you for your reply ! |
example :
@each $name, $weight in (thin, ultralight, light, regular, medium, semibold, bold, extrabold, heavy),
(100, 200, 300, 400, 500, 600, 700, 800, 900)
{
.font-$name {
font-family: 'lc-gilroy';
font-weight: $weight;
}
}
Undefined variable $name
The text was updated successfully, but these errors were encountered: