NewAI video is here. What should creatives actually use it for?
Design

Designing for dark mode without the headaches

Dark mode is expected in most apps now. These principles help you design a dark theme that's comfortable, accessible and still on-brand.

Creative Pouch · · 1 min read

A dark desk setup with a computer monitor and keyboard
Photo: Nikita Kachanovsky on Unsplash

Users expect dark mode. Many keep it on all the time, others switch at night. Yet dark themes are often an afterthought: colours inverted, contrast too harsh, brand colours glowing like neon signs.

Here’s how to do it properly.

Avoid pure black and pure white

Pure white text on a pure black background creates strong contrast that can feel tiring to read, especially for long text. Use a very dark grey for the background and an off-white for the text. It’s calmer and still easily passes contrast checks.

Show depth with lightness

In light mode, shadows show which elements sit “above” others. Shadows barely show on dark backgrounds. Instead, make raised surfaces slightly lighter. A card is a little lighter than the page, and a menu is lighter again.

Tone down saturated colours

Bright, saturated colours that look great on white can vibrate on dark backgrounds. Use slightly lighter, less saturated versions of your brand and status colours in dark mode.

Check contrast again

Every text and background pair needs checking again in dark mode. Muted grey text that worked on white is often too faint on dark grey.

Watch images and illustrations

  • Photos with white backgrounds look like glowing rectangles. Consider rounded corners, subtle borders or dark-friendly versions.
  • Logos and icons may need light versions.
  • Illustrations might need a dedicated dark palette.

Respect the system setting

Follow the operating system’s preference by default, and optionally let users override it. In CSS, it’s straightforward:

@media (prefers-color-scheme: dark) {
  :root { --bg: #121214; --text: #ece9e4; }
}

Design both from the start

The easiest dark mode is one designed alongside light mode, using semantic colour tokens. Retrofitting it later means hunting down hard-coded colours everywhere.

  • #dark-mode
  • #ui
  • #color
  • #accessibility

More in Design