logoalt Hacker News

shubhamjain • today at 6:03 AM • 5 replies • view on HN

> To stay relevant, Pico CSS would need a full rewrite: plain modern CSS instead of Sass, built on features it doesn't use today (OKLCH colors, cascade layers, Popover, anchor positioning) with fallbacks for older browsers

Why? Why? Why? I hate how everyone seems convinced they need to adopt the latest and greatest browser features just to stay relevant. I hate oklch and I hate Tailwind popularized it. I don't care how scientifically accurate it is at representing human color perception. It's a PITA to understand a new type of color system, and learn to tweak it, especially when HSL/RGB just worked fine.


Replies

Gualdrapo • today at 6:55 AM

I don't get any of this hate. oklch makes it really easy to create new tones from a starting point and stuff like anchor positioning also makes it really easy to place absolutely-positioned things. So it's not like those "latest and greatest browser features" are there just to complicate your life, but actually the contrary.

This just seems to me like (1) not wanting to learn new things, (2) a logical fallacy because the conclusion that those changes are to "stay relevant" and not to make the life of any future mantainer easier, and (3) fear of the new (https://en.wikipedia.org/wiki/Neophobia)

➕ show 2 replies
tasuki • today at 9:37 AM

I'm pretty sure I'd hate Tailwind, but please leave OKLCH alone. It is actually ok (as opposed to RGB and HSL which very much aren't ok).

pjmlp • today at 8:40 AM

Fashion and CV driven development, used to sell conference talks, books and agency work for "upgrades".

dbbk • today at 9:02 AM

This is a strange take, sorry, OKLCH is simply better and it's not that complicated to understand?

➕ show 1 reply
throwaway27448 • today at 6:32 AM

> Why? Why? Why? I hate how everyone seems convinced they need to adopt the latest and greatest browser features just to stay relevant.

Presumably we can deprecate the broken shit if we can get people to buy into software upgrades.

➕ show 1 reply