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 | 11 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.
html.to.design — by ‹div›RIOTS — Import websites to Figma designs (web,html,css)
Convert any website into fully editable Figma designs
Anima - Figma to Code React, HTML, CSS, Tailwind, MUI (DevMode Inspect React / HTML / Vue / CSS)
Anima - AI Powered Design to code
Figma to HTML
Convert Figma design to HTML