4 ms·
Ok looks good but what if I don't like to use Sass but want use Stylus? (Serious question)
by greenspot 10y ago
Ok looks good but what if I don't like to use Sass but want use Stylus?
(Serious question)
- kowdermeister 10y agoYou are toasted. It's like asking what if I like wordpress but I don't like PHP? Can I use wordpress with Ruby?
- greenspot 10y agoI thought Bootstrap is about frontend being backend-agnostic or what do I miss?
- risratorn 10y agoI think you have some things mixed up, Bootstrap is a front-end layout framework built with a CSS preprocessor, in this case SASS. It's got nothing to do with backend. You are asking if you can use a different preprocessor, for which the answer is 'no'.
- scardine 10y agoI think the answer is "yes" for those willing to use a fork. If your favorite preprocessor is popular I bet someone already made one.
- kowdermeister 10y agoIt was just an example that it won't work, sorry for the confusion.
- scardine 10y agoYou don't have to use SCSS at all. Just fetch the compiled CSS from a CDN and use your favorite framework to generate another CSS that overrides the defaults. The alternative is to maintain a Bootstrap fork that uses Stylus instead of Sass. See https://github.com/maxmx/bootstrap-stylus https://github.com/maxmx/bootstrap-stylus
- prashnts 10y agoPersonal anecdote: I went from SASS to Stylus and now back to SASS again. Reason being, Stylus has a lot of magic going on, and the loosely constrained grammar breaks stuff.