Skip to content

simple example of Figma's color tokens extraction via its API

Notifications You must be signed in to change notification settings

nicodeclercq/extractFigmaTokensExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Color tokens extraction example with Figma API

This project is an example of the extractions of figma tokens in order to be used in your projects.

Running the code

To run this code you need to generate a Figma API key and make it accessible to the code by putting it in an environment variable:

export FIGMA_API_TOKEN="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"

Then you just need to run it via the following command line:

npm start

About

simple example of Figma's color tokens extraction via its API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published