-
Notifications
You must be signed in to change notification settings - Fork 167
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
Variable names with -# or _# cause errors #451
Comments
Hi @wvankuipers You're right, they should be allowed. This is an open issue in gonzales-pe which we use to parse the style source and pick up the variable declarations and values, but it's been open for quite a while now. As a workaround I can only suggest either removing the hyphen or underscore or adding something before the digit, e.g. |
@jpbackman Ok, should be fixed in gonzales-pe dev now. Guess it will be in stable soon. |
I'm running into the same issue with variable name $color-gray-light-20 and I'm using gulp for sc5 styleguide. Does anybody know if this is fixed? |
+1 also having this issue |
+1 also having the issue |
+1 |
+1
|
+1 |
Yes, this was fixed in gonzales-pe v2.0.2 and the styleguide generator is now on 3.0.0-31. |
Parsing error: Please check validity of the block starting from line #255 @wvankuipers not really ? |
@kwiss It's fixed nu thuis commit I believe tonyganch/gonzales-pe@c9f7f8d What code are you rating to parse? |
Nope, you are missing a dot on line 7. It shoud read '.padding-#{$side}: 0 !important' 😉 |
Hello,
There seems to be a problem with variable names that have a hyphen or underscore followed by a number.
Example:
fontsize-1: 14px;
Generates the following error:
This seems to be incorrect, hyphens and underscores followed by a number are valid SASS variable names.
The text was updated successfully, but these errors were encountered: