/sync
One-way export from your codebase to Figma's tokens-studio format.
When to use
- Bridging from code-defined tokens to a Figma plugin
- The user says "export tokens", "send to figma"
Limitations (honest scoping)
- one-way: code → figma.tokens.json
- not live: re-run after major token changes
- live sync requires figma oauth, planned for week 7+
Run it
dragoon sync # preview
dragoon sync --apply # write figma.tokens.json
Then in Figma: Tokens Studio plugin → File → Import → select figma.tokens.json.