Skip to content
NewSee how fast an edit goes live on this site
Halftone

DesignCraft

Rethinking dark mode

How we chose, tested and shipped the details.

Rethinkingdark modeHALFTONE / JOURNAL
Bo Lindqvist
Published 2 min read

Every color in the product now maps to a role, not a hue. Designers pick "border" or "muted text", and the system decides what that means in light and dark mode. This post covers what we changed, why, and what it means for you.

#Results

We started from the text. Body copy sets the rhythm for everything else, so we fixed its size and line height first and derived the rest of the scale from there.

Consistency is a feature you ship once and maintain forever. Our lint rules now catch one-off sizes and colors before they reach review.

  • Skip what has not changed
  • Keep the previous version one click away
  • Report problems in plain language
  • Cache what never changes

#What we measured

We tested each change with the people who use the product all day. The best feedback was rarely about how something looked, and almost always about how it felt to repeat.

Good defaults are invisible. You notice them only when they are missing, usually at the worst possible moment.

Motion should explain, not decorate. If an animation does not tell you where something came from or where it went, we remove it.

“The safe path has to be the easy path.”
Hana Pike

#The details

Hairlines carry more structure than you would expect. A single one-pixel rule can replace a card, a shadow and a background, and the page gets quieter.

Every color in the product now maps to a role, not a hue. Designers pick "border" or "muted text", and the system decides what that means in light and dark mode.

We started from the text. Body copy sets the rhythm for everything else, so we fixed its size and line height first and derived the rest of the scale from there.

  • Skip what has not changed
  • Run independent steps in parallel
  • Report problems in plain language

#Rolling it out

Consistency is a feature you ship once and maintain forever. Our lint rules now catch one-off sizes and colors before they reach review.

We tested each change with the people who use the product all day. The best feedback was rarely about how something looked, and almost always about how it felt to repeat.

Good defaults are invisible. You notice them only when they are missing, usually at the worst possible moment.

StepBeforeAfter
Install94s12s
Build41s7s
Deploy18s4s

#What changed

Motion should explain, not decorate. If an animation does not tell you where something came from or where it went, we remove it.

Hairlines carry more structure than you would expect. A single one-pixel rule can replace a card, a shadow and a background, and the page gets quieter.

#What's next

Every color in the product now maps to a role, not a hue. Designers pick "border" or "muted text", and the system decides what that means in light and dark mode.

We started from the text. Body copy sets the rhythm for everything else, so we fixed its size and line height first and derived the rest of the scale from there.

“Measure the time from done to live, and treat every minute of it as a bug.”
Dee Marsh
How we designour typescaleHALFTONE / JOURNAL

Design4 min

How we design our type scale

What we kept, what we cut, and why.

Cam Okafor
In praise ofour typescaleHALFTONE / JOURNAL

Design10 min

In praise of our type scale

Good defaults, explained.

Eli Tanaka