3 ms·
Lovely, but I'm going to be churlish. Couldn't you write this in a more "less.js" style?
by moomin 15y ago
Lovely, but I'm going to be churlish. Couldn't you write this in a more "less.js" style?
- c_t_montgomery 15y agoOne would have to wonder why you would choose less.js over sass. In that case, you'd probably have to add support for both (at least it'd probably be requested), which in the end would add to the complexity of this little tool. I think that's why it's just vanilla CSS...
- ohgodthecat 15y agoThe reason to choose less over sass would be because that is what twitter bootstrap uses, though using plain CSS does have the advantage of being used elsewhere.
- timc3 15y agoAnother reason is that some people prefer the syntax of Less over Sass. Particularly if they want to work with devs/designers who are used to CSS.
- tgriesser 15y agoI was thinking the same thing, here's a quick less interpretation i put together of the generator... not sure it's 100% accurate but it should do the job https://gist.github.com/1718640 https://gist.github.com/1718640