Possible to use Styl variables with other Pre-processed languages?
I’ve just included SASS as my pre-processor of choice, and I’d like to be able to use the existing work included via a .styl theme.
Is this possible?
Unfortunately this is not possible from my knowledge. You can’t live “translate” from one CSS preprocessor to another.
Dobromir last edited by
As @rstoenescu said you can’t use Stylus variables inside you SASS, however, if you are not importing any specific css framework/tool you could use Stylus. For the most part its similar to SCSS, you can still use braces and what not, I for once use them, as without them my code gets freaky and looks messy to me
Having a separate _variables.scss is possible, but you have to manage it by your self
You can use this to go with 100% Stylus setup.