Skip to content
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

syntax error in _wvu-slash.scss #237

Closed
architarious opened this issue Feb 10, 2020 · 1 comment
Closed

syntax error in _wvu-slash.scss #237

architarious opened this issue Feb 10, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@architarious
Copy link

architarious commented Feb 10, 2020

Description of problem

I keep getting the following error whenever I try to compile.

Generating JavaScript bundles failed

Parse error on line 1:
-25% + -(1 * 2rem)
--------^
Expecting "SUB", "NUMBER", "LENGTH", "ANGLE", "TIME", "FREQ", "RES", "EMS", "EXS", "CHS", "REMS", "VHS", "VWS", "VMINS", "VMAXS", "PERCENTAGE", "css_value", got unexpected "LPAREN"

How to fix it

I narrowed it down to either line 82 or 92 in scss/utilities/_wvu-slash.scss, and then made the following changes and it worked fine.

Change these lines
82: left: -($i * $spacer) $global-important;
92: top: calc(-25% + -(#{$i} * #{$spacer})) $global-important;

To this:
82: left: ($i * $spacer)*(-1) $global-important;
92: top: calc(-25% + (#{$i} * #{$spacer})*(-1)) $global-important;

@adamjohnson adamjohnson added the bug Something isn't working label Feb 10, 2020
@adamglenn
Copy link
Contributor

@zeroedin fixed this today 66b0ba8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants