Skip to content

Comment on Repainting our app mid-flight

Comments

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.