sergiocastrovale / extractFigmaTokensExample

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:JavaScript 100.0%