Hacker News new | ask | show | jobs
by o11c 661 days ago
One thing that's not mentioned: you can also use color-mix with constant colors, but the percentage from a "boolean" variable (0% or 100%, depending on if you're in dark mode or light mode). In this case the colorspace is ignored.