-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
SCSS - how to insert ruby variable? #733
Comments
I'm trying to do the same and hitting the same "Invalid CSS after..." error. Would be great to have a solution without resorting to the CSS engine. |
@xanview @gapipro - any luck with this? |
This is not supported because of the way sass code is compiled right now. |
@minad - so this type of stuff won't work anymore?
thanks... |
Just hit this today. Would be awesome to support ruby variables in the sass or scss filters. |
Nothing happens here. |
I am trying to inject ruby variable into sass but I can't find any help on how to do it.
If I use CSS engine then it can be done like so:
But when I try to do same thing with SCSS I get error:
Invalid CSS after "...r : #{variables": expected "}", was "["palette-backg..."
And here is my scss:
Should I set local variables in ruby before using them in scss?
The text was updated successfully, but these errors were encountered: