A hard day’s light: Adding a snazzy dark mode to the site
What it takes to give a site a dark mode, how your device decides which mode you can see, and why it's more complicated than inverting a colour palette.
Content & Code, with a little help from Generative AI.
Colour, type and layout decisions, and the tokens that hold them together.
What it takes to give a site a dark mode, how your device decides which mode you can see, and why it's more complicated than inverting a colour palette.
I woke up today and decided to change the header colour from crimson to blue. Let's talk about design tokens, contrast and accessibility.