Design system

Context Mode, in dark mode.

The Context Mode brand adapted to a dark theme: ink background, flat 1 px borders, 8 px buttons, 10 px cards, 14 px demo surfaces, two-tone Geist headlines, Geist Mono for numbers and labels, and color that means something: green for savings and wins, blue for links, red for losses. Full notes in DESIGN.md in the repo.

Color

--c-bg
#0a0a0a

--c-surface
#111113

--c-surface-2
#18181b

--c-border
#26262a

--c-border-strong
#3f3f46

--c-text-faint
#8b8b93

--c-text-muted
#a1a1aa

--c-text
#ededef

primary button
#fafafa

--c-accent (Save)
#31c48d

--c-link (Remember)
#6c9cf5

--c-warn
#e3b341

--c-lose (Protect)
#f07b7f

Type scale

Display --fs-3xl

Heading 2 --fs-2xl

Stat --fs-xl

Lede and h3 --fs-lg

Body --fs-md

Table and small --fs-sm

Eyebrow and badge --fs-xs

Mono: ui-monospace, SF Mono, Menlo, Consolas

Spacing and radius

--s-1
--s-2
--s-3
--s-4
--s-5
--s-6
--s-7
--s-8
--s-9
sm
md
lg
pill

Components

Button

PrimaryGhostLarge

Badge

NeutralWe winTieNeon wins

Card

Card

Default surface for grouped content.

Accent card

One per section, for the thing we want chosen.

Callout

Used for honest caveats. Yellow, never red.

Table

Numbers right-aligned, tabular figures, ours tinted, best in green.
RowThemUs
Example$100.00$10.00

Code block

# comment
$ psql postgres://localhost:6432/app

Nav and footer

Sticky translucent nav at the top of this page, footer at the bottom.

Copy rules

  • Concrete numbers with a source, or no number
  • Say where competitors win
  • No hashtags, no em dashes, no emoji
  • Short sentences. Business value first, mechanism second