Answer the question
In order to leave comments, you need to log in
How to pass JSON to Stylus?
Hello. I need to pass a JSON config as a set of CSS variables to the Stylus preprocessor. How can I do that? The stylus site mentions the " json() " and " use() " functions, but the "json()" function does not handle nested objects and arrays, and the "use()" function did not work for me at all. Those who faced this task, please throw off a code example. I use NodeJS for compilation.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question