Answer the question
In order to leave comments, you need to log in
Does Stylus have the same !default flag as SASS?
Actually the question is in the title.
In short, you need to make several themes for the project, the styles are written using stylus, the project is large, there is a lot of code, there is no time to rewrite everything. And since a lot of files are imported in styles, you won’t be able to quickly sort out this mess, time is running out. I decided to make themes in the form of separate files in which variables will be redefined.
I know that SASS has a !default flag with which you can not care about the order of imports. I tried to do the same in Stylus and change the import order, it didn't work.
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