Style guide
Every colour, type size and spacing value in the template, with the CSS variable that controls it.
Colour
-
Ink
--ink: #0E0E0EBody text and headlines -
Paper
--paper: #F7F5F0Page background -
Surface
--surface: #FFFFFFCards and form fields -
Accent
--accent: #1F3FBFHover, focus, small highlights -
Muted
--muted: #8A8A85Large meta text and marks -
Rule
--rule: #E2DFD8Hairline dividers -
Muted text
--muted-text: #6B6B66Small captions -
Accent soft
--accent-soft: #D5DCF5Image backgrounds only
Type scale
--fs-display
3.5rem to 5rem, line-height 1.05Brimvold
--fs-h1
2.5rem to 3.25rem, line-height 1.15Page title
--fs-h2
1.75rem to 2.25rem, line-height 1.15Section heading
--fs-h3
1.25rem to 1.5rem, line-height 1.15Card or list heading
--fs-body
1rem (16px), line-height 1.65Body text is Inter at 16 pixels. Lines stay under about 68 characters so they are easy to follow.
--fs-small
0.875rem (14px), line-height 1.65
Buttons and links
Form elements
Grid and spacing
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
--s1 8px--s2 16px--s3 24px--s4 40px--s5 64px--s6 96px--s7 144px
Components
Accordion, open
Built with the details element, so it works with a keyboard and without JavaScript.
Accordion, closed
Add the open attribute to show a panel by default.