Token Loader
A plugin to load tokens (from StyleDictionary), and convert them in to Local Variables
Plugin Preview
About this plugin
Generate a `tokens.json` using something like Style Dictionary.example tokens.json:[{"name": "core/color/black","value": "#000000"},{"name": "alias/color/black","value": "#000000","aliasOf": "core/color/black"}]Typescript types for the tokens:interface VariableToken {name: string; // an/example/namevalue: unknown;}interface AliasToken extends VariableToken {aliasOf: VariableToken['name'];}type Token = VariableToken | AliasToken;Next, you can drop in that tokens.json on the plugin window to automatically generate tokens.Note! It will drop unused ones from the collection, and update existing.
Plugin Details
| Version | 5 |
|---|---|
| Created | July 24, 2024 |
| Last Updated | August 21, 2024 |
| Category | Import & export plugins |
| Creator | Marvin de Bruin |
| Stats | 12 installs, 4 likes |
| Pricing | Free |
Technical Details
- API:1.0.0
- UI:build/ui.js
- main:build/main.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the Import & export plugins category.
Free Compressed PDF and Image Exporter (PDF, PNG, JPG, WebP and SVG)
Export compressed PNG, PDF, JPG, SVG, WebP & merge multiple frames into one PDF—fast & easy! 🚀
Color Import / Export
Help design and dev teams stay in sync by providing import and export tools for color palettes
Export/Import Variables
Export variables from one file and import them to another. Supports modes, references, and scopes.