Dark mode is not inverted light mode.
DUSK is a school for designing dark themes on purpose. No pure black, no neon, no shadows nobody can see. Scroll down and the sun sets on this page; drag the sun in the header and the whole site follows you into the night.
Or simply scroll.
Seven lessons between golden hour and night.
- 17:4001Why pure black hurtsPure #000 next to white text smears on OLED and glows on LCD. Start at #121318.
- 18:1002Desaturate the accentsSaturated colour vibrates on dark ground. Lift lightness, drop chroma.
- 18:4503Text opacity levelsThree steps of white: 87, 60 and 38 percent. Hierarchy without new colours.
- 19:3004Elevation through lightnessShadows vanish at night. Higher surfaces get lighter instead.
- 20:1505Contrast in the darkAim for roughly 12 to 16:1, not 21:1. Maximum contrast is not maximum comfort.
- 21:0006Images at nightDim photos a little, calm their chroma, and lose the white boxes.
- 22:4007Semantic tokens for both themesName the role, not the colour, and one stylesheet serves day and night.
Inverted is wrong.
As designed. A light task app. Warm off-white, soft shadows, three saturated tags. Now flip it the lazy way.
Elevation by light.
Six surfaces at six heights, separated only by shadow. On #121318 the shadows have nowhere to fall.
Turn the text down, not the contrast off.
Ship the dark theme tokens
Due today at 18:00, two subtasks
Archived on Monday
Maximum contrast. On a dark room screen the letters bloom and the strokes seem to glow and blur at the edges.
Still well past AAA, and calm enough to read for an hour. The ground is dark grey, the text slightly dimmed.
Dark themes fail in two directions: too little contrast for small grey text, and too much for long reading. A comfortable band for body text is roughly 12:1 to 16:1.
Pictures need night eyes too.
A photo graded for daylight is the brightest thing in a dark interface. It pulls the eye and flattens everything around it. Pull it back a little.
The day file ships on a white box. At night it is a glowing rectangle.