Design system
The tokens behind this site
One set of role-based tokens, two themes. Every value and contrast ratio here is read from the site’s stylesheet when it builds, so this page can’t drift from what ships.
- Tokens
- 153
- Themes
- 2
- Text styles
- 12
- Contrast checks passing
- 24/24
Foundations
A component never knows which theme it’s in. It asks for a role, and the role resolves per theme.
- Role
backgroundWhat it’s for - Token
--color-backgroundDeclared once in global.css - Theme value
#050505 / #F5F4F0Dark is the default, light overrides - Utility
bg-backgroundWhat a component writes
Visitors get their computer’s setting until they choose. Their choice is saved. Try it here.
Color
Named for the job, not the shade. The theme you’re viewing is marked.
Text
Foregrounds, from strongest to quietest.
inkHeadings and primary textdark: #F5F4F0light: #111110mutedBody copydark: #B0B0B0light: #55554FmetaLabels and metadatadark: #8C8C8Clight: #62625CghostDimmed display type, large text onlydark: #6E6E6Elight: #7D7D75Surface
Three steps up from the page.
backgroundPage backgrounddark: #050505light: #F5F4F0surfaceCards and panelsdark: #141414light: #FFFFFFraisedHover and nested surfacesdark: #1D1D1Dlight: #ECEBE5Border
Structure without weight.
ruleHairlines and card bordersdark: #262626light: #DAD8D1muted-2Prose bullet dots, never textdark: #6E6E6Elight: #85857DAccent
One color, Pantone 2347 U. Each theme takes a step of the scale below.
accentAction and emphasisdark: #E8644Flight: #BF4633on-accentText on an accent filldark: #050505light: #FFFFFFStatus
Live and current markers only.
statusLive and current markersdark: #4FD67Alight: #14783CFixed
The same in both themes, for demos that pin a color.
ink-fixedDark side of the lab swatchesdark: #050505light: #050505surface-fixedLight side of the lab swatchesdark: #F5F4F0light: #F5F4F0Accent scale
Generated by Paletta from one seed. #E8644F stays exact at step 500, the hue stays locked, and each theme takes the step closest to the seed that clears AA on its background.
50#FFEDE8Dark 17.99 passes AALight 1.03100#FFD3C9Dark 14.96 passes AALight 1.24200#FFB7A8Dark 12.22 passes AALight 1.52300#FF9A87Dark 9.92 passes AALight 1.87400#F67E69Dark 7.87 passes AALight 2.35500#E8644FDark 6.18 passes AALight 3.00Dark accent600#BF4633Dark 4.02Light 4.61 passes AALight accent700#942B1CDark 2.54Light 7.28 passes AA800#69160BDark 1.67Light 11.09 passes AA900#400300Dark 1.19Light 15.50 passes AA950#1B0000Dark 1.02Light 18.23 passes AA
Typography
One family, Geist. The display, sans and accent tokens all point at it, so a second face is a one-line change.
Text styles
Display
Page titles
.t-display·
Product design
Display caps
Case-study titles, the 404
.t-display-caps·
Onboarding
Title
Section titles
.t-title·
Simplifying Payroll
Heading
Note titles
.t-heading·
Eight agents, one product
Index
Work rows, result figures
.t-index·
Onboarding
Subheading
Steps, companies, cards
.t-subheading·
Discovery
Subheading small
Dense lists
.t-subheading-sm·
Design system at Hourly
Lead
The sentence under a title
.t-lead·
Pay schedules decide when every employee gets paid.
Body
Long-form text
.t-body·
High-stakes financial workflows fail when users can't tell what's about to happen or confirm that it did.
Label
Nav, buttons
.t-label·
Let's connect
Eyebrow
Above a title
.t-eyebrow·
Selected work
Meta
Keys and captions
.t-meta·
Type scale
3xs0.6875rem11px2xs0.75rem12pxcaption0.8125rem13pxxs0.875rem14pxui0.9375rem15pxsm1rem16pxlead1.0625rem17pxbase1.125rem18pxmd1.25rem20pxbrand1.375rem22pxlg1.5rem24pxxl2rem32px2xl2.25rem36px
Fluid sizes
page-titleInner-page heroes, sized to the heroclamp(3.25rem, 11.4cqi, 11.75rem)finaleThe home page's last lineclamp(3.5rem, 11vw, 12.5rem)stage-floorSelected work, smallest5remstage-capSelected work, largest18.75remghostOutlined word behind the pinned runclamp(7.5rem, 22vw, 23.75rem)numeralThe principle numberclamp(7rem, 17vw, 17rem)numeral-titleThe title under itclamp(1.75rem, 3.2vw, 3.25rem)rowHome's linked rowsclamp(2.5rem, 6.2vw, 6.75rem)case/work and /labs titlesclamp(2.5rem, 5.2vw, 6rem)case-bodyThe summary beside themclamp(1rem, max(min(0.9457rem + 0.232vw, 1.05rem), 0.6rem + 0.5vw), 1.3125rem)productPinned run cardsmin(clamp(3rem, 5.4vw, 5.75rem), 23cqi)story/about's openingclamp(2.5rem, 5vw, 5.25rem)cardWork card titlesclamp(1.5rem, 2.8vw, 3rem)card-indexProject card numberclamp(2.5rem, 8vw, 5rem)card-metaWork card captionsclamp(0.875rem, max(min(0.7717rem + 0.441vw, 0.97rem), 0.7rem + 0.3vw), 1.0625rem)introThe sentence in the home heroclamp(1.125rem, max(min(0.8315rem + 1.252vw, 1.395rem), 1.55vw), 1.5rem)proseCase-study bodyclamp(1.125rem, max(min(0.8533rem + 1.159vw, 1.375rem), 1.53vw), 1.375rem)statStat numbers, sized to their rowclamp(2rem, 7.5cqi, 4.75rem)figure/about's numbersclamp(2.75rem, 4.4vw, 4.25rem)valueValue and hiring statementsclamp(1.5rem, max(min(0.7826rem + 3.061vw, 2.16rem), 2.4vw), 2.25rem)stepTeam and hiring stepsclamp(1.25rem, max(min(0.8478rem + 1.716vw, 1.62rem), 1.8vw), 1.625rem)principlePrinciple titlesclamp(1.375rem, max(min(0.7174rem + 2.806vw, 1.98rem), 2.2vw), 2.125rem)principle-bodyPrinciple textclamp(1.0625rem, max(min(1.0272rem + 0.151vw, 1.095rem), 0.6rem + 0.55vw), 1.375rem)quoteA quote beside a portraitclamp(1.5rem, max(min(0.587rem + 3.896vw, 2.34rem), 2.6vw), 2.5rem)quote-lgA quote with no portraitclamp(1.75rem, 3.6vw, 3.5rem)quote-longA long quoteclamp(1.25rem, max(min(0.6522rem + 2.551vw, 1.8rem), 2vw), 2.125rem)quote-markThe opening quotation markclamp(5rem, 9vw, 9rem)initialsInitials in place of a portraitclamp(4rem, 8vw, 7.5rem)menuPhone menu linksclamp(2rem, min(11vw, 9vh), 5rem)contact-linkContact sheet linksclamp(2.25rem, min(9vh, 13vw), 7rem)
Spacing
A 4px grid: 4px steps to 24, 8px to 64, 16px to 128. The number is the utility’s, so gap-6 in markup and --space-6 in a stylesheet are the same distance.
10.25rem4px20.5rem8px30.75rem12px41rem16px51.25rem20px61.5rem24px82rem32px102.5rem40px123rem48px143.5rem56px164rem64px205rem80px246rem96px287rem112px328rem128px
Fluid
Distances that open up with the page, named by their cap.
fluid-xsTight gaps and quote textclamp(0.75rem, 2vw, 1.5rem)fluid-smWork card captionsclamp(1.5rem, 2.2vw, 2rem)fluid-mdCard gaps, card insets, the hero topsclamp(1.5rem, 3vw, 3rem)fluid-lgA heading to its block, hero padding, rowsclamp(2rem, 4vw, 4rem)fluid-xlPage columns, /work and /labs entriesclamp(2.5rem, 6vw, 6rem)fluid-2xlBig blocks, above the footerclamp(4rem, 8vw, 7rem)sectionBetween page sectionsclamp(5.5rem, 11vw, 10rem)section-lgHome's closing sectionclamp(7rem, 14vw, 12.5rem)
By screen height
These sit in pinned or full-height views, so they follow the height.
screenContact sheet, above the linksclamp(2rem, 8vh, 6rem)cards-rowRows of home's work cardsclamp(6rem, 14vh, 10rem)card-offsetHome's second card starts lowerclamp(10rem, 26vh, 18rem)
Fixed roles
Three values the scale doesn’t cover.
summary-labelSits a label on a first line, off the grid on purposeclamp(0.5rem, 1.2vw, 1.15rem)detail-nextAbove the next case, from 1024 up15remdetail-endUnder it11rem
Layout and shape
Content stops growing at the container. Everything inside it keeps a fluid gutter.
container-siteWidest the content runs1680pxpadPage gutter, from phone to desktopclamp(1.25rem, 6vw, 5.5rem)pad-readingGutter on long-form pagesclamp(1.5rem, 8.34vw, 7.5rem)
Radius
2xsSmall copy buttons and chips0.375remxsFocus rings, tiny marks0.25remsmBadges and inputs0.5remmdNested media, small panels0.875remcardCards and stat grids1.125remframeProduct frames1.5rempanelLarge panels2remmediaImages, scaling with the pageclamp(1rem, 2.2vw, 2rem)pillButtons999pxroundDots and round buttons50%
Sizes and lines
tapThe smallest thing to tap or click (44px)2.75remcontrolRound buttons: close, menu, arrows3remcontrol-lgHome's row arrows3.5remicon-xsThe location pin0.875remicon-smIcons in small buttons1remiconIcons in round buttons1.125remicon-mdArrows1.25remdot-xsList markers0.375remdot-smThe live dot0.5remdotCarousel dots0.625remmouseThe scroll cue's mouse1.5remruleThe hairline between things1px solid var(--color-rule)focus-widthThe focus ring2px
Elevation
Black shadows vanish on dark and turn to grey clouds on light, so the light theme swaps depth for a hairline ring and a short, warm shadow.
frameProduct frames at restframe-liftProduct frames on hover
shadowElevation under cardsrgb(0 0 0 / 0.55)/rgb(38 34 26 / 0.14)
Motion
Motion is progressive enhancement: content is visible by default and animates only when JavaScript and the visitor’s motion setting allow it.
out-softAlmost everything: fast start, long settlecubic-bezier(0.16, 1, 0.3, 1)in-out-quartWipes that cross the screencubic-bezier(0.76, 0, 0.24, 1)in-softThings leaving, like a page fading outcubic-bezier(0.4, 0, 1, 1)
instantPress feedback0.1squickSmall fades0.2sfastColor and hover0.3smoderateSlides and panels0.45sbaseReveals and frames0.6swipeFull-screen wipes0.7srevealElements rising in on scroll0.7sslowImage scale0.9sslowerLong settles1.6s
Loops
bobThe scroll cue, 3 times1.8spulseThe live dot, 4 times2.4sadvanceOne auto-advancing principle or quote6spingWait before the map pin pings1.5s
Staggers
stagger-1Second line of a list arriving0.06sstagger-2A title after its number0.08sstagger-3Third line0.1sstagger-4Everything after that0.14s
Components
These are live: hover them, or tab through to see the focus ring.
.ac-pill .ac-pill-solid.ac-pill.ac-pill-lg.ac-tag.ac-tag-live.ac-draftAccessibility
Every pair is checked in both themes with the WCAG 2.1 formula. Normal text needs 4.5:1, large text and non-text marks 3:1.
| Pair | Used for | Dark | Light |
|---|---|---|---|
ink on background | Body and headings on the page | 18.52:1AAA | 17.17:1AAA |
muted on background | Secondary body copy | 9.40:1AAA | 6.82:1AA |
meta on background | Small uppercase labels | 6.06:1AA | 5.58:1AA |
muted-2 on background | Prose bullet dots, not text | 4.00:1AA | 3.38:1AA |
ink on surface | Cards and the contact panel | 16.74:1AAA | 18.89:1AAA |
meta on surface | Contact panel labels | 5.48:1AA | 6.14:1AA |
accent on background | Links, labels, focus ring | 6.18:1AA | 4.61:1AA |
accent on surface | Labels and hover titles on cards | 5.59:1AA | 5.07:1AA |
on-accent on accent | Buttons on hover | 6.18:1AA | 5.07:1AA |
status on background | Live and current markers | 10.90:1AAA | 5.05:1AA |
ghost on background | Dimmed and outlined display type | 4.00:1AA | 3.77:1AA |
surface-fixed on ink-fixed | Swatch labels in the Paletta lab demo | 18.52:1AAA | 18.52:1AAA |
- FocusA 2px accent ring with a 3px offset on everything focusable.
- Reduced motionAll motion stops under prefers-reduced-motion.
- Testingaxe runs on every route in both themes, at phone and desktop widths, on every push.