Fabrics are the theming layer for Acinguiux Design System.
The Fabrics make use of figma-export which requires a Figma API key.
Once you have a key, create a .env file with the following info:
FIGMA_TOKEN=[Your Figma API token]
To fetch default color tokens for light and dark mode from Figma run:
$ pnpm fetch:colors
To fetch Acinguiux color tokens for light and dark mode run:
$ pnpm fetch:recharge
To fetch typography tokens from Figma run:
$ pnpm fetch:typography
Once you have fetched the tokens, to convert these in to distributable modules run
$ pnpm build