Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Research using Figma API #5277

Open
kkoryaka opened this issue Sep 13, 2021 · 3 comments
Open

Research using Figma API #5277

kkoryaka opened this issue Sep 13, 2021 · 3 comments
Assignees
Labels
Feature Request Requires Design, Content, and Dev input Research

Comments

@kkoryaka
Copy link
Contributor

kkoryaka commented Sep 13, 2021

Research possibility of using Figma API inside of the cannabis color scheme variables.

Screen Shot 2021-09-13 at 2 02 19 PM

@kkoryaka kkoryaka added Feature Request Requires Design, Content, and Dev input Research labels Sep 13, 2021
@kkoryaka kkoryaka self-assigned this Sep 13, 2021
@kkoryaka
Copy link
Contributor Author

kkoryaka commented Sep 16, 2021

Figma files that needs to be used:
https://www.figma.com/file/3N4dFWhFqiGpWr1DRQoJUM/Design-system-colors?node-id=0%3A1

Page ID: 0%3A1
Team ID: 885217931383305943
FIle key: 3N4dFWhFqiGpWr1DRQoJUM

API Tutorials:
https://www.figma.com/developers/api

Curl Command that fetches figma's colors page:
curl -H 'X-FIGMA-TOKEN: HERE-GOES-YOUR-TOKEN' 'https://api.figma.com/v1/files/3N4dFWhFqiGpWr1DRQoJUM'

Other examples:
Figma connect js example (doesn't work for me):
https://jsitor.com/SEHYdsYs8b

Guy makes it work:
https://www.youtube.com/watch?v=sDTjVoMz-H4&t=131s
https://github.com/KarlRombauts/Figma-SCSS-Generator

https://johanbrook.com/writings/figma-api-colors-css/

@kkoryaka
Copy link
Contributor Author

Using a tool that contains the retrieval code that depends on a specific figma file structure: https://github.com/B3nnyL/figgo

@carterm carterm removed their assignment Oct 22, 2021
@chachasikes
Copy link
Collaborator

Think we paused on this - moved it to the cannabis ICEBOX - also putting on the static site board so it gets tracked better.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature Request Requires Design, Content, and Dev input Research
Projects
None yet
Development

No branches or pull requests

4 participants