Colour
Seven colours run everything outside the case studies.
Live preview
#ffffff#141414#5c5c5c#e7e7e7#f4f4f4#141414#ffffffContrast 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 buttonHow 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
--bgBackground behind every page.
Affects Top bar, View toggle, Project window, Your-version pill, Case study layout
--inkMain text, headings and active nav links.
Affects Top bar, Section intro, Project card, Filter chips, Playground row, View toggle, Project window, Your-version pill, Back link, Contact links, Contact form, Type tester, Logo row, Say hi, Case study layout
--ink-softSummaries, 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
--lineDividers, 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
--tileBehind images while they load, and empty thumbnails.
Affects Project card, Playground row, Project window, Contact links, Type tester
--btn-bgSolid buttons, and the border and hover fill of outline buttons.
Affects Button, Top bar, Footer, Filter chips, View toggle, Contact form
--btn-inkText on solid buttons and selected chips.
Affects Button, Top bar, Footer, Filter chips, View toggle, Contact form