Not for public use
Code Connect
Code Connect uses figma.config.json
and the FIGMA_ACCESS_TOKEN
from the .env
file to connect the codebase with our Figma files. Get your access token here; you must have access to the Figma files for this to work. Reach out in the #design-systems
channel on Slack for access.
Publish
pnpm exec figma connect publish
Unpublish
pnpm exec figma connect publish
Create
pnpm exec figma connect create "<FIGMA_COMPONENT_MAIN_LINK_FROM_DEV_MODE>"
this will create a ComponentName.figma.tsx
file at the root of the repo