Is there a way to make my Stylus file dynamically accept variable input from Grunt, iterate through the variable values, and generate multiple themed CSS files?
This would allow for easy theme switching, similar to the method described in this Stack Overflow post.
Has anyone implemented this before? How would one go about setting it up?
Currently, I have Grunt compiling Stylus into my CSS. However, changing the theme requires manually adjusting the value of the themeName variable in my mainCSS.stylus file and then rebuilding with Grunt.