SASS: It’s Fine, Carry on Defining Blacks (medium.com)
over 8 years ago from Corin Edwards, Interaction Designer at SLQ
over 8 years ago from Corin Edwards, Interaction Designer at SLQ
I've seen a lot of debates about meaningless, trivial details, but I think this surpasses them all, well done!
I'm looking forward to the follow up that explains why you should always use color: grey
and avoid color: gray
at all cost.
Please do. I don't know how to spell gray...ever.
Thank you.
I've read 2 articles today and won't be changing my way of doing things in the slightest.
Yay for digital landfill.
Use what works for you. Let's stop arguing about it :)
I like my sandwiches cut diagonally. It's better than horizontally because you know...umm...
...I am better than you.
I wish I could upvote this twice.
Totally agree with this article.
I never use #000 or #fff (apart from very "arty" clients who think it's cool) but I always use $white and $black.
This feels like a troll post.
Couldn't agree more! The post by Jono actually made us question things in hopes to make us stop and think about why we do what we do. As soon as I read this post by Corin, I was appalled by the lack of tack it contained in it. It is one thing to disagree, it's another to try and pile drive a person based on their opinion. This could for sure have been handled better.
In the end who cares about what you think black is. As many others have already said, you should NOT be naming variables after colors.
Except when you apply this awesome idea:
That was not my intention. There was a statement presented as truth that I considered inaccurate.
I disagreed with Jono but I meant no offence.
Naming variables after colors is just bad news. Who cares if you think a dark gray with a splash of burgundy should still be called black. You are completely missing the point of Jono's argument.
Nah, that was exactly his argument.
There is never a time where you will update the variables $White or $Black to be anything other then #FFF or #000. If you do update these to be anything else, then you clearly are not writing semantic code.
Jono believes that $white
and $black
are too long and useless. Corin believes black and white aren't always the same (and I agree with him). The best part? We can all have our way and co-exist. <3
Jokes on everybody: why even use SASS? Why even use CSS? No stylesheet, no cry.
Also, don't use black!
This is really good!
Color is relative. Nothing new about that.
I initially thought it would something about racism in Silicon Valley.
Designer News
Where the design community meets.
Designer News is a large, global community of people working or interested in design and technology.
Have feedback?
Login to Comment
You'll need to log in before you can leave a comment.
LoginRegister Today
New accounts can leave comments immediately, and gain full permissions after one week.
Register now