mikaelvesavuori / figmagic

Figmagic is the missing piece between DevOps and design: Generate design tokens, export graphics, and extract design token-driven React components from your Figma documents.
https://docs.figmagic.com
MIT License
807 stars 71 forks source link

Export tokens in a single file #191

Open mikaelvesavuori opened 1 year ago

mikaelvesavuori commented 1 year ago

Discussed in https://github.com/mikaelvesavuori/figmagic/discussions/166

Originally posted by **camposcristian** August 16, 2022 Instead of `/tokens/colors.ts` , `/tokens/spacing.ts`, `/tokens/fontFamilies.ts`, etc, is there any way to get all tokens into one single file `tokens.ts`? This will help following conventions for other libraries like Radix or Chakra UI