Light and dark
How Seed Exact follows the system appearance: platform roles plus light-dark brand tokens, what changes between the schemes, what stays, and screenshot pairs.

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.

Light: white page, black text, grey summary and date, teal on the selected tab.
Dark: black page, white text, the same greys resolved for dark, a lighter teal on the selected tab. Layout, type and photos are unchanged.

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

-exact-label, -exact-secondary-label, -exact-secondary-background, -exact-separator, -exact-system-red

Brand

Tokens in app.tamber written as light-dark(light, dark)

brand = light-dark(#007a70, #26a596)

Fixed by design

One token marked scheme=fixed, and one computed colour

ink.on-brand = #ffffff; the avatar disc hsl(hue, 54%, 32%)

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 (-exact-secondary-background)

Light grey

Dark grey

Primary text

Black

White

Tint: links, plain buttons, symbols, tab selection (brand)

#007a70

#26a596, lighter so it reads on dark surfaces

Fills under white text (brand.fill): own chat bubble, badges

#007a70

#147a71, kept dark so white text holds 4.5:1

Failed badge (danger.fill)

#b42318

#c4281c

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.

A grouped list in dark: black page, dark grey cards, lighter teal symbols and action labels. The light version is shown on the (Lists)(hm://z6MkuBbsB1HbSNXLvJCRCrPhimY6g7tzhr4qvcYKPuSZzhno/mobile/design/patterns/lists) page.

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.

User stories

This page helps deliver these stories. Each story lists this page in its Trace, so the link holds in both directions (traceability).

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime