design-tokens
Installation
SKILL.md
Design tokens
Figma variables are the source. packages/but-ui/tokens/json/*.tokens.json is their export.
The build makes tokens/tokens.css from it, and writes the same values as data to
tokens/tokens.json (the tokens) and tokens/settings.json (the choices a person can make).
None is edited by hand. The package README has the pipeline in full. Run everything below from
packages/but-ui.
1. Export from Figma
Every route writes the same four files: core, semantic, ramps and fx.tokens.json.