Promptles
Design with MCP

Design Token

beginner

Definition

A named value for a design decision — a color, a spacing step, a font size — stored once and referenced everywhere. Tokens keep design and code in sync: change the token and every place that uses it updates. Pulling tokens rather than hardcoding hex and pixels is what keeps generated code on-system.

In the wild

Instead of `color: #1e1b2e`, the component uses `var(--color-bg-card)`. The agent learned the token name by calling get_variable_defs on the frame.

More from Design with MCP