Building Design Tokens For Fast-Moving Teams
Semantic naming beats literal naming
Tokens like blue-500 and gray-700 work until brand or mode changes. Semantic tokens survive redesigns because they describe intent.
json
{
"color": {
"text": {"primary": "#141414", "muted": "#616161"},
"surface": {"base": "#ffffff", "elevated": "#f7f7f7"}
}
}Pair token docs with misuse examples
Good docs do not only show what to do; they show what to avoid. Misuse examples reduce design drift in fast releases.
Treat token quality as a release gate
If token references are inconsistent, visual quality regresses quickly. Add token checks to CI and block regressions early.
- No hardcoded brand colors in components
- No direct pixel values for spacing where tokens exist
- All new components reference semantic tokens
For more information, visit AI Research Center.