Accent colours

The accent colours and the rules they keep in every theme.

Accent colours

Six colours. Teal and Graphite are accents over Mica's neutral greys; Dusk, Lime, Rose and Amber also tint the page and cards in Light and Dark, after the Hallmark themes. Load tokens.css, then one palette file, then components.css. The accent changes links, the main button, the chosen item, the count and the logo in every theme. High contrast keeps pure white or black; focus, status colours and chart series never change. Blue, the default, is tokens.css itself; Teal is the colour before Mica.

Teal palettes/teal.css

The colour before Mica: calm and clear.

3

Light: body text and a link.

Ready
3

Dark: body text and a link.

Ready

Dusk palettes/dusk.css

Periwinkle on blue slate: quiet evenings, reading.

3

Light: body text and a link.

Ready
3

Dark: body text and a link.

Ready

Lime palettes/lime.css

Lime on blue-black: sharp and technical.

3

Light: body text and a link.

Ready
3

Dark: body text and a link.

Ready

Rose palettes/rose.css

Fluorescent pink on warm paper: playful, media.

3

Light: body text and a link.

Ready
3

Dark: body text and a link.

Ready

Amber palettes/amber.css

Amber on graphite: signals, servers, night.

3

Light: body text and a link.

Ready
3

Dark: body text and a link.

Ready

Graphite palettes/graphite.css

Neutral and technical: servers, admin, documents.

3

Light: body text and a link.

Ready
3

Dark: body text and a link.

Ready

Use one

  • <link rel="stylesheet" href="tokens.css">, then palettes/forest.css, then components.css.
  • Pick one accent per product. An app may let people choose one (Starboard, own style): load palettes/app-palettes.css after tokens.css and set data-palette on <html>.

Change one

  • Edit tools/palettes.py, run it, then tools/build.py and tools/check_accents.py (0 failures).