Closed malcocerGit closed 7 years ago
I have no clue what you are asking. Do you want to @import
a stylus file from another file?
Hi, I know you can add @import from stylus file, but I have varios "theme.styl" each one have a variables, and only I have a one "base.styl".
I wanted compile "base.styl" including the " theme.styl", but if I use "@import" I should create one "base.styl" for each "theme.styl".
I thinks do it by gulpstask is more efficient, but I didn't find any example.
I found a correct way to it, thanks for all.
I wanted for 'import' : __dirname + '/stylus/themes/' + theme + '.styl',
I want to add a style file with some variables in a stylus for gulp task, my code looks like this :
I searching some example, but nothing about it
Regards