Style guide
The parts Hesper is built from.
Colours for both themes, the type scale, controls and the car renderer. Every value comes from tokens/coachwork.tokens.json.
01 · Colour
Studio grey, night garage, one charge lime.
Each token has a light and a dark value; the swatch shows both. Lime is for highlights and the dark-theme button, never for body text on a light page.
Page
--c-bg
#eceeed · #0a0b0c
Band
--c-bg-2
#e2e5e4 · #101214
Card
--c-panel
#f8f9f8 · #15181a
Studio floor
--c-stage
#f6f7f7 · #121517
Text
--c-ink
#0d0f10 · #eceeed
Secondary text
--c-muted
#50575a · #a3a9ac
Charge lime
--c-accent
#c6f432 · #c6f432
Lime text
--c-accent-ink
#4a6400 · #d2f760
Main button
--c-cta
#0d0f10 · #c6f432
Success
--c-ok
#1b7045 · #63c98f
Warning
--c-warn
#a5481d · #f08a5d
02 · Type
One family, stretched wide for headlines.
Mona Sans is a variable font with a width axis: headings run at 118, body text at 100. IBM Plex Mono labels the technical parts. No italics anywhere.
Display
Mona Sans 620, width 118, 72 / 0.96, -3.5%
412 miles on one charge
Title
Mona Sans 620, width 118, 44 / 0.96, -3.5%
412 miles on one charge
Heading
Mona Sans 620, width 118, 26 / 1.15, -2%
412 miles on one charge
Body large
Mona Sans 400, 18 / 1.65
412 miles on one charge
Body
Mona Sans 400, 16 / 1.6
412 miles on one charge
Label
IBM Plex Mono 500, 11.5, caps, +12%
412 miles on one charge
03 · Controls
Buttons, fields and choices.
04 · The car
Three bodies, six paints, three wheels.
Every car on the site is drawn live by lib/car.ts from a handful of numbers per model. Change the data attributes and the renderer does the rest; the SVG side view is the fallback when WebGL is off.
data-model="strand"data-model="vale"data-model="wren"Paint
Fjord Blue #24465c · Basalt #1b1d1f · Glacier #e7e6e1 · Mercury #8b9298 · Lichen #5b6a4f · Ember #b4432b
Wheels
Aero 19"
Turbine 20"
Split-spoke 21"
05 · Brand