Design system

Colour

Seven colours run everything outside the case studies.

Live preview

Page#ffffff
Text#141414
Secondary#5c5c5c
Line#e7e7e7
Tile#f4f4f4
Button#141414
Button text#ffffff

Contrast checks

  • AaText on page18.42:1AAA
  • AaSecondary text on page6.69:1AA
  • AaButton text on button18.42:1AAA
  • AaText on placeholder fill16.75:1AAA

AA needs 4.5:1 for body text. These update as you edit.

In context

Readable on the page

This paragraph uses the text colour on the page background. Secondary text sits a shade lighter.

A button

How these connect

  • Text and Secondary text form the reading hierarchy: titles and anything you must read use Text; summaries, captions and inactive links step back to Secondary text.
  • Button fill doubles as the outline colour of outline buttons and the fill of the selected filter chip, so every clickable thing shares one accent. Button text is what sits on top of it.
  • Hairlines separate the top bar, footer, Playground rows and form fields. Placeholder fill sits behind images and empty thumbnails, so cards keep their shape while loading.
  • Page background is also used for the frosted top bar and form fields, so changing it re-tints the whole frame. Keep enough contrast between Page background, Text and Secondary text.

Tokens

--bg

Background behind every page.

Affects Top bar, View toggle, Project window, Your-version pill, Case study layout

--ink-soft

Summaries, captions, inactive nav links, footer text.

Affects Top bar, Footer, Page header, Project card, Playground row, View toggle, Project window, Back link, Contact links, Contact form, Type tester, Logo row, Say hi, Case study layout

--line

Dividers, input borders, chip borders, nav and footer rules.

Affects Top bar, Footer, Filter chips, Playground row, View toggle, Project window, Contact links, Contact form, Type tester

--tile

Behind images while they load, and empty thumbnails.

Affects Project card, Playground row, Project window, Contact links, Type tester

--btn-bg

Solid buttons, and the border and hover fill of outline buttons.

Affects Button, Top bar, Footer, Filter chips, View toggle, Contact form

--btn-ink

Text on solid buttons and selected chips.

Affects Button, Top bar, Footer, Filter chips, View toggle, Contact form