The mobile app has no theme setting. It follows the system appearance, and it does so without a single per-screen dark rule: every colour in a screen is either a platform role, which the platform resolves for the current scheme, or a brand token written as a light and dark pair. This page shows how that works and what a designer should check.
How it works
Layer | Mechanism | Example |
|---|---|---|
Chrome | Drawn by the platform, so it follows the scheme with nothing written | Navigation bar, tab bar, grouped list cards and page, sheets, keyboard, alerts |
Text and surfaces the app paints | Platform roles |
|
Brand | Tokens in |
|
Fixed by design | One token marked |
|
The first principle in DESIGN.md puts it plainly: "Bars, lists, controls, type sizes and dark mode belong to the platform." The React Native app before it had "a custom dark theme copied from the web"; the redesign made the app "light and dark following the system". See What changed from the React Native app and why.
What changes
Element | Light | Dark |
|---|---|---|
Reading page (document, thread, compose) | White | Black |
Grouped page (Me, Agents, settings, sheets) | Light grey with white cards | Black with dark grey cards |
Painted cards and bubbles ( | Light grey | Dark grey |
Primary text | Black | White |
Tint: links, plain buttons, symbols, tab selection ( |
|
|
Fills under white text ( |
|
|
Failed badge ( |
|
|
Bars and the tab bar | Light translucent material | Dark translucent material |
The two dark teals are the one place where dark mode needed a design decision. Text and symbols need a lighter teal on black; a surface under white text needs a darker one. One token could not do both, so brand and brand.fill are equal in light and split in dark. The contrast figures are on Color and tokens.
What stays
Layout, spacing, radii and type sizes. Nothing moves between schemes.
White text on brand fills (ink.on-brand).
Avatar discs: the same green, from the same name, in both schemes. The 2-point ring around a FacePile avatar is -exact-secondary-background, so it matches the card behind it in either scheme.
Photographs, covers and document images. They are not dimmed or inverted.
Symbols' shapes. Only their colour follows the tint or role.
The guard rails
Two checks keep a screen from breaking in dark mode, both named in DESIGN.md:
lower-colour-one-scheme, a build warning for "a literal colour that stays the same in dark mode". A colour that is meant to be fixed must say scheme=fixed.
no-tells, an Exact script that lists every literal colour, font size and weight left in an app.
Exact's pitfalls list describes the failure these prevent: "Dark mode is unreadable: white text on a light card, labels lost on a light page. Cause: a brand written as hex on a page, a card or text" (agent-pitfalls.md). It also explains why cards on a white reading page use -exact-secondary-background and not the grouped role, which is white in light mode and would vanish.
Screens were captured in both schemes during development: the final/ screenshot set has a light and dark image for most screens, and the app's verify step looks at each tested screen in light and dark, see Verify and visual checks.
What to check in a new design
Every colour is a role or a token. If a hex value seems necessary, it is a new token with a light-dark() pair.
Text on a teal surface uses brand.fill under it, not brand.
A card on a reading page is -exact-secondary-background; inside a grouped list, let the platform draw the card.
A hairline is -exact-separator, never a grey.
Look at the screen in both schemes before calling it done.
Limits
Observed, not designed: document images with a white background (diagrams, logos) stay white in dark mode, since images are shown as published. A person cannot choose a scheme inside the app; it is the system's choice. Increased Contrast is handled by the platform for roles; the brand tokens have no separate high-contrast values, which is an inference from app.tamber having only light-dark() pairs.
Related
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime