LearnBoost/stylus — Issue #585: Really loose syntax
Author: kizu
Created: 2012-02-22 19:41:18+00:00
State: open

Currently, the available “CSS Style” is more of a joke — it supports only classic syntax (no banner code style and similar) and don't backward compatible with the real-world `.css` files 'cause they almost always have some indents intended for ease the reading of code. Like multiline properties etc. But you can't just rename any `.css` to `.styl` like you can do for `.scss` or `.less`, — you'll get a hell of the errors, so the easiest thing to do would be rewriting all the code.

Adding really __loose__ syntax is a must if you want to ease the transition to Stylus for existing projects, it would solve a bunch of issues on multilining (#195, #55, #187 etc.) and maybe some more.

I don't suggest to get rid of nesting — it's a great feature, — but to add some support for any valid CSS syntax.

I've tried all the available pre-processors — SASS, Less and Stylus, and the features of Stylus are the best, but it's sad that I can't use it with our code style :(

If there any chance that you'd add the support for loose CSS syntax? Maybe like SASS did with `.scss` one, or in any other way (explicit declaration in the beginning of file?).

If that's not possible, it would be nice to hear all the arguments against it.