A light tool for generate Figma design tokens as variables.
npm install figma-tokens --save-dev
🧐 How to use?
Extract Figma tokens schema
Generate tokens as variables
Generate tokens as all plattforms tokens variables with a figma schema.
Duplicate figma design tokens file
Duplicate and use the figma file to work with the token structure.
Get your figma file id
Get your figma API key
Modify config with your figma API key and figma id in
Working on an npm package, you can look at this repository meanwhile :)