-
Notifications
You must be signed in to change notification settings - Fork 130
Conversation
-1 on removing curly braces from the source, anyone not used to stylus could be thrown off by it. Also, I like my curlies. But I supposed I'm biased. I'm good to go either way depending on what you all think. |
I like this. Curlies, colons, semicolons not required! |
why is any css preprocessing necessary? just use CSS + autoprefixer. i'd rather make it easier for people to contribute. |
also, github doesn't have syntax highlighting for stylus apparently |
Huh. Yeah I'm surprised there isn't github styling for it. I'd prefer to not write colons and semicolons at very least, but eh. I have no preference over nested / regular styles e.g. .app
a
text-align left
...
.content
h1
text-align left
... vs .app a,
.content h1 {
text-align: left;
} |
@Fishrock123, the syntax highlighting may be a good argument for LESS or raw CSS, though I would DEFINITELY 👎 raw CSS. That stuff is insane to work on for any type of scalable project. LESS (or regular-style Stylus, for that matter) is straight-forward enough to pick up quickly. |
Disagree. There's no way to write DRY, maintainable styles without variables and mixins/extends. |
So I guess the question really is between LESS and Stylus, if github highlighting is an issue, maybe LESS may be a good fallback |
GitHub highlighting is not an issue. |
Kk. +1 to Stylus then. Should be good to ship. |
translate styles.css to stylus
This is a bit late but I had, somewhere on some older commit from a week ago or so, also 👎 stylus/LESS at this stage. While I 100% agree that things can get difficult to scale, a semi-strict component-based style guide can go a long way to keeping things DRY and reusable. For the most part the majority of our CSS will probably be on layout of predictable sections (docs, homepage, guides, blog posts) for which the rest of the content will be markdown derived and very predictable. Anyway, my perhaps too-late 0.02 :) |
@snostorm if you like we can add this to the next wg agenda? |
Example stylus usage. We can add {} back in or anything else if people really want,