Skip to content

mepearso/figma-fetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎨 Figma Fetch

This is a little package to fetch colors from Figma for your project. It's a WIP.

You can clone this repo and add it to your project. You'll need to create a personal Figma access token by following the steps here and adding the token to a .env file.

Running the script

  • Clone this repository, [email protected]:bakkenbaeck/figma_package.git
  • cd into the directory it was cloned into
  • Update the variables in ./figma/constants.js
  • Add your access token to .env
  • Run yarn figma
  • You should see the color tokens generated from your Figma file in ./generated/colors.css

TODO:

  • Make configurable
  • Support text styles
  • Support more than one frame on a page
  • Make a plugin ?
  • Better error handling
  • ...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published