Skip to content

Design Tokens Overview

apps/docs/src/content/docs/design-tokens/overview Click to copy
Copied! apps/docs/src/content/docs/design-tokens/overview

WC-2026 uses a three-tier design token system compliant with the W3C Design Token Community Group (DTCG) specification. Tokens are generated using Terrazzo for multi-platform output.

┌────────────────────────────────────────┐
│ Component Tokens (Tier 3) │
│ --wc-button-bg, --wc-card-padding │
│ Component-specific, references Alias │
├────────────────────────────────────────┤
│ Alias Tokens (Tier 2) │
│ --wc-color-primary, --wc-space-md │
│ Semantic meaning, references Global │
├────────────────────────────────────────┤
│ Global Tokens (Tier 1) │
│ --wc-blue-600, --wc-space-16 │
│ Raw values, brand-agnostic │
└────────────────────────────────────────┘
CategoryExamplePurpose
Color--wc-color-primaryBrand colors, status colors, surfaces
Typography--wc-font-size-lgFont families, sizes, weights, line heights
Spacing--wc-space-mdPadding, margins, gaps
Border--wc-border-radius-mdBorder widths, radii, styles
Shadow--wc-shadow-elevatedBox shadows for elevation
Motion--wc-duration-fastTransition durations and easing

WC-2026 ships with three themes:

  1. Light - Default theme for standard usage
  2. Dark - Dark mode with appropriate contrast
  3. High Contrast - WCAG AAA compliance for accessibility needs

For the complete token architecture (70,000+ words), see the Pre-Planning: Design System & Token Architecture.