Color
Bone and obsidian
There are two themes and they are the same eight tokens. Bone is the default; obsidian serves a reader whose system prefers dark, or who chose it. Each swatch shows the bone value on the left and the obsidian value on the right.
- #F4F0E8#0E0F12
Ground
--ground
The page.
- #ECE6DA#14161A
Surface
--surface
Alternate bands.
- #FBF8F2#1A1C21
Raised
--raised
Cards and tiles.
- #14161A#F4F0E8
Ink
--ink
All body text and headings.
- #4F535B#ABA59A
Ink, muted
--ink-muted
Captions and status lines.
- #8C5A12#E3A548
Amber, as text
--accent-ink
Eyebrows, kickers, step numbers.
- #B07A2A#E3A548
Amber, as line
--accent
Rules, underlines, the ring of the mark.
- #CFC6B6#2C2E34
Rule
--rule
Hairlines between rows.
Fixed obsidian
The vault has no windows
The access band and the footer stay obsidian in both themes, the way the brochure's back page does. They use their own six tokens, which never change.
- #0E0F12
Obsidian
--obs
The access band and the footer.
- #16181C
Obsidian surface
--obs-surface
A panel inside a fixed band.
- #F4F0E8
Bone ink
--obs-ink
Text on fixed obsidian.
- #B3ADA2
Bone, muted
--obs-muted
Notes on fixed obsidian.
- #E3A548
Amber
--obs-accent
Eyebrows and rules on fixed obsidian.
- #2C2E34
Obsidian rule
--obs-rule
Hairlines on fixed obsidian.
| Pair | On bone | On obsidian | Meets |
|---|---|---|---|
| Ink on ground | 15.94 to 1 | 16.86 to 1 | AAA |
| Ink on surface | 14.57 to 1 | 15.94 to 1 | AAA |
| Ink on raised | 17.09 to 1 | 15.00 to 1 | AAA |
| Muted ink on ground | 6.79 to 1 | 7.83 to 1 | AA |
| Muted ink on surface | 6.21 to 1 | 7.40 to 1 | AA |
| Amber text on ground | 5.15 to 1 | 8.89 to 1 | AA |
| Amber text on surface | 4.71 to 1 | 8.40 to 1 | AA |
| Amber line on ground | 3.26 to 1 | 8.89 to 1 | Line only on bone |
Always
- Set body text in ink. Amber text is for labels and kickers only, in --accent-ink.
- Use --accent for lines: a rule, an underline, a border on hover.
- Change a dark value in both dark blocks of the stylesheet; they must match.
Never
- Never fill a band, a card, or a button with amber.
- Never set text in the line amber on bone; it does not reach the contrast a reader needs.
- Never add a second accent color, a tint, or a gradient.