Contributing
If you want to get started contributing to Tokens Studio for Figma, here's how you can get started:
Run
npm ci
to install dependencies.Run
npm run start
to start webpack in watch mode or npm run build to build once.Open Figma -> Plugins -> Development -> New Plugin... and choose manifest.json file from this repo.
Create a Pull request for your branch
Known Issues
You may run into some common errors, listed below.
Cannot read property document of undefined
This error can be solved by clearing Figma's cache. To do that follow the steps outlined in this document.
Mac
Use the Terminal app to clear the cache.
Quit the Figma desktop app.
Open the Terminal.app and enter the following command: rm -rf "$HOME/Library/Application Support/Figma/"{Desktop,DesktopProfile}
Try opening the Figma desktop app again.

Last updated
Was this helpful?