Craft
How we preview dark mode, inbox by inbox
No email client publishes how it darkens your design. How the Email area previews dark mode for each inbox, and why it never just inverts the colours.
Every email designer has had this moment: the launch email looks perfect in the editor, and then someone opens it on their phone at night and the gold button has turned brown.
Dark mode in email is not one thing. Each inbox decides on its own how to darken a message, none of them document it, and a few change their minds between releases. A preview that flips every colour is worse than none, because it gives you the wrong answer with confidence.
What inboxes actually do
From what the inboxes do in practice, they fall into a few families:
- No change. Gmail on the web and Yahoo show your email as you designed it.
- Full inversion. Gmail on iOS and classic Outlook invert the lightness of every colour, so light backgrounds go dark and dark text goes light.
- Partial inversion. Gmail on Android and the Outlook.com family darken the light parts and leave the rest more or less alone.
- Your own dark styles. Apple Mail keeps your email as designed and applies the dark-mode styles you wrote yourself.
How the Email area previews it
In the email editor, Dark mode asks which inbox you mean, renders the saved email as that inbox’s dark mode would show it, and draws the result over the editor. Images off does the same for inboxes that block pictures until the reader allows them.
We deliberately don’t use the editor’s built-in dark toggle. It runs a colour inversion over each block, which no inbox does, and that’s exactly how the gold button came out brown.
Honest about the limits
This is an approximation, and the preview says so. No client publishes its rules, so ours come from studying what each one does. That’s still far more useful than a single toggle: you see the email the way your client’s customers on that inbox will, and you catch the button that disappears before it ships.
The email’s chat looks too: after it creates an email or changes its layout, it screenshots the saved email at desktop and phone widths before it calls the job done. The dark-mode preview is there for you to check the inboxes your client cares about.