A weak token name does more than slow down search: it makes refactors expensive, encourages duplicates, and turns governance into guesswork.
1. Naming tokens after components too early
A component name creates a hard boundary. That is useful for a token that genuinely belongs to one component, but destructive when the value expresses a reusable intent.
button.primary.backgroundThe name says “this belongs to the button.” Six months later, the same color appears in a segmented control, a selected navigation item, and a promotional card.
The team now has two bad options: reuse a button token outside a button, or create three duplicates.
Name the shared decision first:
color.background.accentThen map a component token to it only when the component needs its own contract:
button.background.primaryComponent tokens are not wrong. Premature component tokens are.
Create them when they protect a component from change, not because the first screenshot happened to contain a button.
2. Encoding the current value in the name
A semantic token should describe a role, not leak its present implementation.
color.text.gray
color.background.blue
size.border.2These names feel precise until the design changes. If the border size increases of 1px, sizing.border.2 lies or forces a rename across design files, codebases, documentation, and analytics.
A token should survive a visual refresh without requiring identity surgery.
Use names that describe purpose or hierarchy:
color.text.muted
color.background.brand
color.border.defaultRaw tokens are the exception. Their job is to represent primitives, so value-oriented scales are appropriate there:
color.blue.500
space.4
font.size.1The mistake is not having a token called color.blue.500but asking product teams to use it directly as if “blue 500” were a durable design decision.
3. Changing the order of name segments
A token name is a small sentence. If its grammar changes from one branch to another, users must decode every name individually.
text.brand.strong
brand.text.strong
strong.text.brandAll three are readable. Together, they are a taxonomy failure.
Choose a stable sequence of segments and apply it wherever those segments appear. For example:
{category}.{property}.{modifier}color.text.default
color.text.muted
color.background.default
color.background.brand
color.border.subtleThe exact sequence is less important than its predictability. Designers should be able to guess the next token before opening the picker. Developers should be able to generate, validate, and transform names without a collection of exceptions that looks like tax law.
4. Mixing casing and separators
Inconsistent formatting looks cosmetic, but it prevents reliable automation.
text/primary
TextPrimary
text_primary
text-primaryThese may represent the same concept in four tools, or four different concepts in one very confusing repository.
Either way, humans start guessing and scripts need special cases.
Define one canonical source format:
color.text.defaultThen let platform transforms produce the required outputs:
--color-text-defaultcolorTextDefaultcolorTextDefaultDo not make authors remember the syntax of every target platform. Store one predictable name, transform it during delivery, and lint the source before a pull request is merged.
5. Using vague modifiers as if everyone agrees on them
Words such as primary, secondary, strong, and subtle feel familiar. That familiarity is the problem: teams often use them without defining what they mean.
color.primary
color.secondaryPrimary what? A brand color, an action, a background, or the most prominent text? The name only works while everyone shares the same unwritten context. Add another product team, a second brand, or a new theme and that context disappears.
Include the role the modifier applies to:
color.text.default
color.text.muted
color.background.brand
color.action.primaryprimary is not inherently a bad word. It becomes useful when its scope is explicit. In color.action.primary, the team can define it as the color used for the highest-priority action in a view. In color.primary, it is merely an adjective looking for a noun.
The same rule applies to size labels:
spacing.small
font.size.small
button.size.smallThese three small values do not need to match, but each must belong to a documented scale. Otherwise, the modifier communicates confidence without communicating meaning.
Use a controlled vocabulary. Define every recurring modifier, specify where it can appear, and reject synonyms that introduce the same concept under a different name. A token picker should not require users to debate whether muted, subtle, and soft are three roles or one indecisive role.
6. Renaming without a migration strategy
Renaming a token is a breaking change, even when the new name is objectively better. Design files, application code, documentation, tests, and third-party packages may still depend on the old path.
Deleting the old token and announcing the change in release notes is not a migration plan.
Start by introducing the new name and keeping the old one as an alias:
{
"color": {
"text": {
"default": {
"$value": "#1F2937",
"$description": "Default text color."
},
"primary": {
"$value": "{color.text.default}",
"$description": "Deprecated. Use color.text.default. Remove after 2026-12-01."
}
}
}
}Then manage the rename as a sequence:
Add the replacement token.
Alias the old name to the new one.
Mark the old name as deprecated in documentation and tooling.
Measure remaining usage across repositories and design files.
Publish a removal deadline.
Remove the alias only when consumers have migrated.
This keeps the system usable while teams update at different speeds. A clean namespace achieved by breaking every consumer is not clean. It is merely empty.
Run a rename audit
Take the 50 most-used tokens in your system and classify each one as global, semantic, or component. Then flag names that encode a value, change segment order, duplicate another role, or hide an important constraint.
You do not need to rename everything at once. Start with the names that appear most often in product code. Naming debt becomes manageable as soon as you can see it, rank it, and migrate it deliberately.
A good token name does not describe what the interface happens to look like today. It preserves the decision that should still make sense after the next redesign.

