Hacker News new | ask | show | jobs
by qingcharles 487 days ago
I love the color choices, but what's the reason for defining each color twice, once with a "raw"?
1 comments

> 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...