Field Notes
Approaches

Layered Architecture

The full four-layer token chain for enterprise and multi-brand systems.

When to Use

  • Large teams with multiple contributors to the design system
  • Multi-brand products that need theme switching
  • Projects where the design tool is the source of truth and changes flow automatically
  • Systems that need to scale to many components (10+)

The Four Layers

Primitive → Semantic → Component Slot → Resolver → Rendered Value

See The Token Chain for full details on each layer.

Advantages

AdvantageDetail
Automatic theme switchingChange primitives, semantics cascade automatically
Design tool traceability1:1 mapping from design tool variable collections
ScalabilityAdding components doesn't increase primitive count
Multi-brandSwap the primitive layer for a different brand
Contrast guaranteesPaired semantic tokens ensure WCAG AA

Trade-offs

LimitationDetail
Aliasing complexityDebugging requires following var() chains
Potential token bloatMany primitives may go unused without careful pruning
Build pipeline requiredDesign tool → transformer → CSS → components
Onboarding costNew developers must understand the layer model

On this page