Platform colour roles in use
The seven platform colour roles Seed Exact uses, with counts and meanings, what is left unsaid, and the rule that computes avatar colours.

Besides its brand tokens, described on Color and tokens, the mobile app names seven platform colour roles and computes one colour, the avatar disc. This page lists them with the number of times each appears in the Contract files.

Platform roles in use

A role is a name the platform resolves for light, dark and Increased Contrast. Seven appear in the contracts.

Role

Uses

Meaning here

-exact-secondary-label

115

Everything secondary: dates, short ids, hints, summaries, loading lines, some trailing values

-exact-label

24

Primary text where a parent would otherwise tint it (titles inside links, document text)

-exact-system-red

25

Error text, and the "Log out" labels

-exact-secondary-background

10

Every painted card and bubble; the ring around a FacePile avatar

-exact-separator

9

Hairlines between rows, the quote edge, composer outlines

-exact-tertiary-label

4

The chevron and the "·" in DocItemRow, the empty query line, the Activity chevron

-exact-background

1

The bar behind the agents composer

Left unsaid, and therefore the platform's: the page and grouped backgrounds, list cards, bars, the tab bar, the keyboard, placeholder text, switches, the destructive red of destructive=true. DESIGN.md also lists -exact-fill; it is not used.

The avatar hue rule

An image-less avatar is the one computed colour: hsl(hue, 54%, 32%) with a white initial. The hue comes from the name, 127 + (weighted sum of the name's characters) mod 49, so it lies between 127 and 175: "the green family around desktop's identicon hue (151 ± 24)". The same name always gets the same disc, so an author is recognisable down a thread. Saturation and lightness are fixed, which keeps the initial's contrast constant and makes the disc identical in light and dark. Screenshots from before this change show grey discs.

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

Comments