laurenbarker / design-token-prototype

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

design-token-prototype

Testing the ability to pull design tokens from Figma files and generate different formats using style-dictionary.

Based on https://medium.com/@PavelLaptev/design-tokens-with-figma-aef25c42430f

Setup

Get a personal API token for Figma then add FIGMA_API_TOKEN as an environment variable.

I can give you the figma ID that needs to be added as FIGMA_ID.

Install

npm i

Run the build script

npm run build

References

About


Languages

Language:JavaScript 87.0%Language:CSS 13.0%