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

parentheses being set to variable in mixin #87

Open
aaarichter opened this issue Feb 16, 2021 · 0 comments
Open

parentheses being set to variable in mixin #87

aaarichter opened this issue Feb 16, 2021 · 0 comments

Comments

@aaarichter
Copy link

Hi, sorry if this has been asked before but I can't seem to find what option is causing this transform:

original stylus:

focus-outline($focusColor = $color-blue-600)
  0 0 3px 1px $focusColor

transformed to

focus-outline($focusColor = $color-blue-600)
  0 0 3px 1px {$focusColor}

Screenshot 2021-02-16 at 10 57 29

The {} around the variable are causing the stylus compiler to throw expected ":", got "}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant