sass / ruby-sass

The original, now deprecated Ruby implementation of Sass
https://sass-lang.com
MIT License
183 stars 38 forks source link

Support specifying custom variables when calling sass #32

Closed nex3 closed 6 years ago

nex3 commented 6 years ago

From https://github.com/sass/sass/issues/1628:

Currently it's pretty straightforward to do this by defining an extension function and feeding it with values via the :custom option. For example, you could imagine my-var("varname") accessing options[:custom]["varname"]. This is admittedly less direct than setting variables, but on the other hand it does make it more explicit that these values are coming from somewhere external: users are more used to functions popping up out of nowhere than variables.

nex3 commented 6 years ago

I'm closing this issue as "on ice" because Ruby Sass is deprecated and no additional features are planned for it.