Design token
noun
say it: “dih-ZYNE TOH-kun” /dɪˈzaɪn ˈtoʊkən/
A named value for one of a site's design choices, such as a color, a text size or a space, stored once (for example as --color-brand) so every part of the site uses it.
What is a design token?
A design token is one of a site's design choices (a color, a text size, a space, a corner, a shadow) stored once under a name that says its job, such as --color-brand or --space-3. Every component reads the token, so changing it in one place restyles the whole site.
:root { --color-brand: #0a7c86; --space-3: 1rem; --radius-md: 8px; }
.button { background: var(--color-brand); padding: var(--space-3); border-radius: var(--radius-md); }
In a sentence
- “When the café changed its brand color, I updated one design token and every button followed.”
Level: Journeyman · More CSS terms at this level
Updated