Lexicon
A design system for the pace’s products. Tokens, components, and the contract between design and code.
What is Lexicon?
Lexicon is the design system that powers the pace’s products. It defines the visual and interaction language — colour, typography, spacing, motion, components — and ships the tokens, primitives, and documentation that turn that language into shipping code.
Lexicon is not a marketing page or a Figma file alone. It is the contract: a verified, version-pinned source of truth. Designers reference it. Engineers consume it.
Six pillars
Tokens, not values
Every visible value resolves through a CSS variable. Hardcoded hex is a bug.
Restraint over decoration
No bounce, no spring, no shimmer. The interaction is the design.
Typography is the system
Geist for body, Geist Mono for labels and code. Mono uppercase 11px is the dominant secondary type.
Numbered nav, named sections
Information has structure. We make the structure visible.
Distinct identity
Lexicon looks like Lexicon, not the marketing site. Brand layers are explicit.
Accessible by default
Body contrast on dark: #C5C6CA minimum. WCAG 2.2 AA is the floor.
Get Lexicon
Lexicon is in pre-release. The installable npm packages ship with the monorepo extraction in Phase 5. For now, browse the docs, use the design tokens reference, and download the Figma library.
1# Coming in Phase 52pnpm add @lexicon/tokens @lexicon/components
Design library
The Figma library is the source of truth for tokens, components, and patterns. Variables flow from Figma → JSON → CSS via the token pipeline.
zwgSUFKchksLH9qAIPEvMMVariableCollectionId:7:2Quick start
- Tokens — Import the token CSS files into your app’s root layout. Confirm
var(--color-bg)resolves in DevTools. - Fonts — Load Geist and Geist Mono. Confirm
--lex-font-sansand--lex-font-monoresolve. - Theme — Wrap your app in a
data-theme="dark"data-brand="lexicon"root. Light theme arrives in a future release. - Components — Import only the components you need. Avoid wholesale imports.
Component library
Components
131Single reusable UI elements: buttons, inputs, badges, cards, switches, tabs.
Patterns
Compositions: search bars, filter groups, form blocks, content cards.
Templates
—Full page layouts: dashboards, login screens, settings, empty states.
Coming soonSports UI
12Domain-specific bundle for sports, betting, and live-event interfaces.
Design tokens
Every value in Lexicon — colour, type, spacing, radius, motion — resolves through a CSS variable. Tokens are layered: base primitives, theme overrides, brand overrides.
Useful links
Roadmap
- Phase 4i18n rollout — 24 languages, RTL deferred
- Phase 5Monorepo extraction, npm packages, branded CLI
- Phase 5Sports UI section ships
- Phase 5Mobile navigation, full responsive pass