Color and tokens
Every colour in Seed Exact: the brand tokens in app.tamber with light and dark values and contrast notes, the platform roles in use, the avatar hue rule, and the rule against colour literals.

The mobile app has one colour of its own, Seed teal, and borrows every other colour from the platform by role. This page lists every token and role that appears in the Contract files, where each is used, and the contrast each was chosen to meet.

An earlier build with no brand token: links, symbols and the selected tab are the system blue.
The same screen after accent-color="brand": the same controls are Seed teal. Nothing else changed.

Brand tokens

The tokens live in app.tamber. Colours are written as light-dark(light, dark).

Token

Light

Dark

Meaning

Used by

AccentColor

#007a70

#26a596

The platform's tint for this app

Every unstyled button, link and symbol, the tab bar selection, focus

brand

#007a70

#26a596

The same teal, by name

The app root (accent-color="brand"); 17 text and symbol colours (checkmarks, reply counts, "See all", "Reply", the comment count line, embed and media symbols); 3 fills ("Add a comment", a document's button block, the unread dot); the embed card's left edge; the focused agents composer outline

brand.fill

#007a70

#147a71

A surface under body-size white text

A person's own chat bubble; the Badge on a run card

danger.fill

#b42318

#c4281c

A failed status under white text

The Badge of a failed run

brand.subtle

#e3f4f2

#0f2e2b

A faint teal surface

Nothing. DESIGN.md assigns it to "selected rows, embed card edge", but no contract names it

ink.on-brand

#ffffff

#ffffff (scheme=fixed)

Text on brand fills

Avatar initials, "Add a comment", the button block, a person's own chat bubble

brand.fill and danger.fill are declared with pair=ink.on-brand, which makes the build warn if the pair falls below 4.5:1. ink.on-brand is marked scheme=fixed so the lint that flags one-scheme colours leaves it alone. The format is explained in Tamber design tokens.

Contrast, as stated in the sources

Colour

Statement

Source

brand light #007a70

5.2:1 under white; at least 4.5:1 on the grouped background

DESIGN.md, app.tamber comment

brand dark #26a596

3.0:1 under white ("the 3:1 Exact asks of a filled button's label"), 4.6:1 on the dark grouped card #2c2c2e, 6.9:1 on black

DESIGN.md

brand.fill

At least 4.5:1 under white in both schemes

DESIGN.md, app.tamber comment

Avatar disc

White initial at least 4.5:1 "on every hue"

ui.contract comment

This is why there are two teals in dark mode: brand is lightened to #26a596 so it reads as text on dark surfaces, and brand.fill stays darker at #147a71 so white body text on it still reaches 4.5:1. These ratios are quoted, not re-measured for this page.

Platform roles and the avatar colour

Every other colour is a platform role: -exact-secondary-label (115 uses), -exact-system-red (25), -exact-label (24), -exact-secondary-background (10), -exact-separator (9), -exact-tertiary-label (4) and -exact-background (1). An image-less Avatar is a green disc whose hue is computed from the name. Both are detailed on Platform colour roles in use.

No colour literals in screens

DESIGN.md: "No colour literals in screens: no-tells and lower-colour-one-scheme flag them." no-tells is Exact's script that "lists every literal colour, font size and weight left"; lower-colour-one-scheme is the build warning for "a literal colour that stays the same in dark mode". The contracts hold to it with two declared exceptions: the avatar's hsl() and the fixed white ink.on-brand.

Do and do not

    Do leave a colour unsaid when the platform would pick the right one.

    Do use brand for text, symbols and edges, and brand.fill under white body text.

    Do use -exact-system-red only for errors and destructive words.

    Do not write a hex value in a screen. Add a token to app.tamber if the brand needs a new colour.

    Do not use teal for decoration. In the app it always means "you can tap this" or "this is yours or current".

Why

"A brand colour the platform has no role for is the one place for a literal" (contract-for-agents.md). Keeping the palette to one hue is what lets the app follow the system in light and dark with no per-screen work, and it is a deliberate break from the React Native app's "custom dark theme copied from the web" (DESIGN.md), see What changed from the React Native app and why.

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