Design Token
Named design decisions — color, spacing, radius, type — stored as data so they can be shared and re-themed.
A design token is a named design decision stored as data rather than repeated as a literal: a color role, a spacing step, a radius, a font family, a shadow. Tokens are the interface between design intent and implementation, and the substrate that makes theming possible.
The distinction that gives them their power is between primitive tokens (a specific color value) and semantic tokens (the role that color plays — surface, accent, danger). Components should consume roles. A component referring to a raw value has hard-coded a decision that the system exists to keep changeable.
Two governance problems recur once tokens are shared across teams.
One name, two values. Two pieces of parallel work can each introduce the same token name with a slightly different value, and whichever lands second silently overwrites the other. The convention that resolves it is to never disagree on a name: if two shades are genuinely both needed, they get distinct names.
Orphaned tokens. Rerouting a token so it becomes overridable can leave the previous name referenced by nothing, while documentation, tooling, and editor fields keep advertising it. Writes to it then succeed and render nothing — a Silent Failure no test can catch. The check is to search the compiled output for the name and confirm zero hits.
See also7
CSS Custom Property
A user-defined CSS property that participates in the cascade and inherits down the tree.
Design & Interface10 connections
Design System
A shared vocabulary of tokens, primitives, and rules that makes independent work converge.
Design & Interface17 connections
Scoped Styling
Confining a set of style decisions to a subtree so the same component can look different in different contexts.
Design & Interface10 connections
OKLCH
A perceptually uniform color space that makes lightness and chroma behave predictably.
Design & Interface13 connections
Dark Mode
Serving an alternate palette for low-light preference, and the three states that implies.
Design & Interface13 connections
Utility-First CSS
Composing styles from many small single-purpose classes rather than authoring semantic rules.
Design & Interface11 connections
Typographic Scale
A constrained set of type sizes and their paired line heights and spacing.
Design & Interface15 connections
Related2
Nearby in the graph rather than deliberately chosen. Looser, sometimes surprising.
Linked from15
- AffordanceDesign & Interface
A property an object's design communicates about how it can be used, before any instruction is read.
- CascadeDesign & Interface
The algorithm deciding which declaration wins when several apply to the same element.
- Color ContrastDesign & Interface
The measured luminance difference between foreground and background, and the accessibility floor it must clear.
- Container QueryDesign & Interface
Styling based on the size of an element's container rather than the viewport.
- CSS Custom PropertyDesign & Interface
A user-defined CSS property that participates in the cascade and inherits down the tree.
- Dark ModeDesign & Interface
Serving an alternate palette for low-light preference, and the three states that implies.
- Design SystemDesign & Interface
A shared vocabulary of tokens, primitives, and rules that makes independent work converge.
- Motion DesignDesign & Interface
Using movement to communicate change, continuity, and hierarchy rather than to decorate.
- OKLCHDesign & Interface
A perceptually uniform color space that makes lightness and chroma behave predictably.
- Opponent Process TheoryDesign & Interface
Color is recoded after the cones into red-green, blue-yellow and light-dark opponent channels.
- Scoped StylingDesign & Interface
Confining a set of style decisions to a subtree so the same component can look different in different contexts.
- Typographic ScaleDesign & Interface
A constrained set of type sizes and their paired line heights and spacing.
- UI PrimitiveDesign & Interface
The small set of typed components through which all interface markup is expressed.
- Utility-First CSSDesign & Interface
Composing styles from many small single-purpose classes rather than authoring semantic rules.
- Variable FontsDesign & Interface
A single font file that encodes a continuous design space, letting weight, width, and other axes be set to any value at runtime.