How to pass locals/globals?
Closed this issue · 2 comments
jkarttunen commented
I've been struggling with this for way too long. How to pass global variables to stylus?
(as in 'stylus.define({'themeColor','#FF00FF'}
jkarttunen commented
Got it. For anyone looking at this:
Update to gulp-stylus 2.3.x
and do
.pipe(stylus({define:{'themeColor':'#fff'}}))?