Skip to main content
02 / Foundations

Tokens

The full token surface — searchable, copy-able, the contract between design and code.

All tokens

Generated from app/lexicon/_tokens/base.css and app/lexicon/_tokens/lexicon.css. Light theme and Sports UI overrides will appear in additional layers as they ship.

TokenValueLayer
--lex-font-sansvar(--font-dm-sans), system fallbackbase
--lex-font-monovar(--font-jetbrains), ui-monospacebase
--spacing-xs4pxbase
--spacing-sm8pxbase
--spacing-md16pxbase
--spacing-lg24pxbase
--spacing-xl32pxbase
--spacing-2xl48pxbase
--spacing-3xl64pxbase
--lex-radius-sm4pxbase
--lex-radius-md6pxbase
--lex-radius-lg10pxbase
--lex-radius-pill999pxbase
--text-xs12pxbase
--text-sm14pxbase
--text-md15pxbase
--text-lg17pxbase
--text-xl22pxbase
--text-2xl28pxbase
--text-3xl36pxbase
--text-4xl46pxbase
--leading-tight1.2base
--leading-snug1.4base
--leading-normal1.55base
--leading-loose1.75base
--tracking-tighter-0.02embase
--tracking-tight-0.01embase
--tracking-normal0embase
--tracking-wide0.02embase
--tracking-wider0.06embase
--tracking-widest0.1embase
--weight-regular400base
--weight-medium500base
--weight-semibold600base
--weight-bold700base
--border-width-11pxbase
--border-width-22pxbase
--border-width-33pxbase
--focus-ring-width3pxbase
--focus-ring-offset2pxbase
--focus-ring-colorvar(--color-accent)base
--transition-fast120ms cubic-bezier(0.4,0,0.2,1)base
--transition-base180ms cubic-bezier(0.4,0,0.2,1)base
--transition-slow280ms cubic-bezier(0.4,0,0.2,1)base
--z-base0base
--z-raised10base
--z-dropdown100base
--z-sticky200base
--z-overlay300base
--z-modal400base
--z-popover500base
--z-toast600base
--z-tooltip700base
--color-bg#16161Abase
--color-surface#1C1C22base
--color-surface-2#24242Bbase
--color-stage#1C1C22base
--color-stage-dot#35353Dbase
--color-text#ECEAE4base
--color-text-2#C5C6CAbase
--color-text-muted#A1A1AAbase
--color-text-faint#A1A1AAbase
--color-border#2A2A30base
--color-border-strong#3C3C42base
--color-success#7ACB8Ebase
--color-success-soft#1B2620base
--color-warn#E3BE78base
--color-warn-soft#2A2317base
--color-do-accent#6BB57Dbase
--color-do-surface#1B231Ebase
--color-dont-accent#D87878base
--color-dont-surface#24191Abase
--color-code-bg#111115base
--color-code-border#262629base
--color-code-head-bg#18181Cbase
--code-tag#E8A268base
--code-attr#8FB4E0base
--code-str#9CCBA3base
--code-comment#6B6B6Bbase
--code-keyword#C599D7base
--code-punct#B8B6AEbase
--shadow-sm0 1px 2px rgba(0,0,0,.40), 0 1px 1px rgba(0,0,0,.30)base
--shadow-md0 2px 6px rgba(0,0,0,.45), 0 4px 12px rgba(0,0,0,.35)base
--shadow-lg0 4px 12px rgba(0,0,0,.55), 0 12px 32px rgba(0,0,0,.40)base
--shadow-xl0 8px 24px rgba(0,0,0,.65), 0 24px 64px rgba(0,0,0,.50)base
--color-accent#7AA0D4brand:lexicon
--color-accent-soft#1F2A3Cbrand:lexicon
--color-action-bg#ECEAE4brand:lexicon
--color-action-text#111115brand:lexicon
--color-action-hover#FFFFFFbrand:lexicon
--color-secondary-bg#24242Bbrand:lexicon
--color-secondary-text#ECEAE4brand:lexicon
--color-secondary-border#3C3C42brand:lexicon
--color-ghost-text#ECEAE4brand:lexicon
--color-ghost-hoverrgba(255,255,255,0.06)brand:lexicon
--color-danger-bg#C24646brand:lexicon
--color-danger-text#FFFFFFbrand:lexicon

How to consume

Components and pages reference tokens through var(--…) only. Hardcoded hex is a bug.

// ✓ correct
<div style={{ background: 'var(--color-surface)' }}>

// ✗ never
<div style={{ background: '#1C1C22' }}>