Browse, search, and copy the design tokens of your style-dictionary projects without leaving the keyboard.
.json and .json5 file inside them is read recursively. Switch between projects from the search bar.value/type and $value/$type tokens both work, even mixed in one project. Aliases like {color.brand.500} are resolved by style-dictionary itself.#336699 finds a token stored as oklch(49.93% 0.0987 250.43).var(--color-brand-500) or design.color("brand.500").Each project has a list of templates, one per line. Every template that applies to a token becomes a copy action on it.
var(--{kebab-name})
@color design.color("{name}")
@spacing theme.space.{camel-name}
A line starting with @group.path only applies inside that group, and {name} becomes relative to it. With the templates above, color.brand.500 gets:
design.color("brand.500")var(--color-brand-500)| Placeholder | color.brand.primaryLight with @color |
|---|---|
{name} | brand.primaryLight |
{path} | color.brand.primaryLight |
{kebab-name} | brand-primary-light |
{camel-name} | brandPrimaryLight |
{snake-name} | brand_primary_light |
{value} | the resolved value |
Use Enter Copies in the project settings to choose what ↵ copies: the value, the name, or the most specific matching template.
| Shortcut | Action |
|---|---|
| ↵ | Copy the value (or what Enter Copies says) |
| ⌘ ↵ | Copy the name (the value if ↵ copies the name) |
| ⌥ ⌘ H / R / S / L | Copy a color as HEX / RGB / HSL / OKLCH |
| ⌘ 1–9 | Open a pinned group or copy a pinned token |
| ⌥ ⌘ 1–9 | Pin the selected token or group to that slot |
| ⌘ R | Reload the token files |
MIT