What Safari's Adaptive Dark Mode does to your light site
Flip the system to dark, then change what the page declares. The transformation is a simulation; the color-scheme and light-dark() are real CSS.
Your browser doesn't support light-dark(), so the demo switches the author's dark palette with an attribute instead.
Slow mornings, written down
A warm, light design the author spent weeks tuning.
Read the latestNewsletter
Visits (<canvas>)
Body text contrast–
What your JS reads for the background
–What the user actually sees
–Simulation: lightness is inverted in OKLCH while hue is kept, the photo is left alone, the black-and-white logo is inverted and the canvas is not touched, as WebKit describes. It is not Safari's real algorithm.