The three-tier model
Color token architecture organizes tokens into three tiers. The primitive tier holds raw color values with no semantic meaning — cobalt-500, amber-300, neutral-100. The semantic tier maps primitives to roles — text-primary maps to neutral-900, surface-default maps to neutral-50, action-primary maps to cobalt-500. The component tier maps semantic tokens to specific UI elements — button-background maps to action-primary, card-border maps to border-subtle. When the brand palette changes, only the semantic-to-primitive mapping needs to update. Component code is never touched. This architecture requires more upfront structure but creates dramatically lower maintenance cost over a system's lifetime.
