-
Notifications
You must be signed in to change notification settings - Fork 263
Use less or stylus for CSS #351
Comments
@rossbruniges @k88hudson do you have an opinion about this? Kate, if I recall correctly you're a stylus fan? |
less for me - in so much that it's what the rest of Mozilla webdev use. Of course you can write decent css without it so would mark this task as On Sunday, September 23, 2012, Brian J Brennan wrote:
|
We use LESS in popcorn and it works pretty well, with a few annoying exceptions, such as: 1 You can't interpolate property names, so myCoolMixin( prop, val ) {
-webkit-{prop}: val;
} is only possible in stylus. 2 No real functions, so you also can't do
where grid() is a function. 3 No real conditionals, so instead of
you have to write
That being said, if you're planning on borrowing/sharing mixins and stuff across projects, might be better to go with LESS. |
I find the LESS syntax confusing, and stylus seems a bit more elegant, BUT I don't think that trumps having the shared knowledge of LESS across projects. Plus nobody is saying "Oh god no, not LESS" so I guess it can't be that bad. @Pomax, are you (relatively) happy with LESS? |
I don't like things with syntax that makes my eyes bleed, so I like If Stylus is nicer to read and has some features we want to make use of, (I know, a bit non-committal. I don't like LESS, but not enough to
|
I'm a strong believer that you CAN write good CSS with LESS and work around the syntax being a bit crap. I don't think we've (Mozilla) found that yet but I reckon with a bit of a good planning we can nail it! Like with all frameworks - you can use it for good/bad, and I reckon that if your stuff is bad enough to make your eyes bleed then you're potentially using it for bad! |
definitely; LESS can, ultimately, do the same thing as Stylus of course Sounds like we're going with LESS?
(NB: anything that uses @ or $ or var(...) where there is no ambiguity On 9/24/2012 12:07 PM, Ross Bruniges wrote:
|
Sorry @Pomax, we're SWITCHING TO PERL!!! There's more to share than just syntactical knowledge; there are best practices, gotchas, and stuff like build tools. All of that stuff is useful to have access to. Plus the warm fuzzy feeling that you're being a team player. Which I would happily not do if others seemed to regret using LESS, but they don't. So I'd say we go with LESS and you can say "I told you so" if/when it all blows up in our faces. |
On 9/25/2012 3:15 PM, Mike Larsson wrote:
Oh my god, you so had me at PERL... LESS is acceptable too I guess, but
|
I DECLARE THIS THREAD SUCCESS |
(@Pomax and @k88hudson need github avatars) |
the moment github allows me to use a picture specifically on github, rather than using gravatar and leaking my identity all over the place, I will set one up! =D |
Ahh, unlikely that will happen (the co-founder of github made gravatar). |
Oh cool... but also, yeah, that's unlikely to happen then =x |
Alongside this would like to hear peoples thoughts about tools like codeKit (which annoyingly I can't currently use but feel like massive productivity boosters) |
I tried out LiveReload and ended up not using it very often, although I think a big part of that is that I'm typically just working on my laptop screen and don't have the screen real estate to have my coding window and browser open side-by-side. I like the idea of it still. Seems like codekit offers more than the live update, too. |
Yeah - the big video features one of the less exciting parts of the project. The stuff I like are the image optimisation tools, CSS/JS compilers and auto-linting (because you can never have too many checks for that kinda stuff). |
I don't care which one, really, but we should be preprocessing because native CSS is awful.
@stenington, @Pomax I'll leave it to you guys to decide but we should probably pick something by end of day Monday at the latest!
The text was updated successfully, but these errors were encountered: