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

Variables are not resolved inside parentheses #18

Closed
Leonti opened this issue May 29, 2012 · 2 comments
Closed

Variables are not resolved inside parentheses #18

Leonti opened this issue May 29, 2012 · 2 comments

Comments

@Leonti
Copy link

Leonti commented May 29, 2012

This line will produce:
background: -moz-linear-gradient(top, $headerGradientStart 0%, $headerGradientEnd 166px, #ffffff 166px);

background: -moz-linear-gradient(top, $headerGradientStart 0%, $headerGradientEnd 166px, #ffffff 166px);

After removing the parentheses:
background: -moz-linear-gradient top, $headerGradientStart 0%, $headerGradientEnd 166px, #ffffff 166px;

variables are resolved:
background: -moz-linear-gradient top, white 0%, black 166px, #ffffff 166px;

@ghost ghost assigned akhleung May 30, 2012
@akhleung
Copy link

Nice catch!

More specifically: properties that look like functions are passed through without being evaluated. I'll modify the evaluator so that it evaluates the arguments.

@akhleung
Copy link

Should be fixed now.

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

2 participants