Open kkoryaka opened 2 years ago
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
Using a tool that contains the retrieval code that depends on a specific figma file structure: https://github.com/B3nnyL/figgo
Think we paused on this - moved it to the cannabis ICEBOX - also putting on the static site board so it gets tracked better.
Research possibility of using Figma API inside of the cannabis color scheme variables.