Hacker News new | ask | show | jobs
by NetOpWibby 487 days ago
*oklch codes

And trust me, I didn't expect to get more than 10 upvotes max. I'm slightly bewildered.

1 comments

I love the color choices, but what's the reason for defining each color twice, once with a "raw"?
> If you want more granularity (read: opacity), you can call the raw version of the color (append -raw to the variable name) which will return the OKLCH values so you can do something like this: oklch(var(--uchu-gray-1-raw) / 40%).

via https://github.com/NeverCease/uchu/blob/primary/documentatio...