Closed Token Layer

3-layer CSS variables token architecture designed to prevent LLMs from fabricating hardcoded values. Layer 1 (foundation) = primitives (raw colors, spacing scales). Layer 2 (semantic) = contextual tokens (color-bg-primary, spacing-md). Layer 3 (component) = component-scoped tokens (button-padding-x). AI agents only read the semantic layer, layers 1 and 3 are closed to direct consumption. Atlaskit case (Atlassian): 418 hardcoded values → 0 after migration to closed token layer.

Strengths

Limitations

Best for

Official site

View on Coeurdar