Skip to main content

Naming

How tokens and keys are named.

The five answers​

QuestionAnswerWhy
What gets a name?Tokens and component keysComponents get their own keys.
How many token tiers?ThreePrimitives, semantics and component keys.
How are decisions named?By roleRole names survive a redesign.
How are names written?Lowercase words in pathsLowercase paths read the same everywhere.
What do components read?Component keysA component API keeps changes local.

When to use what​

SituationUseNotWhy
A value with no tokenThe closest semantic token, then ask for a new oneA raw value in the componentA raw value skips the contrast checks every token passed.