0.0.8 • Published 6 months ago
acinguiux-ds-fabrics v0.0.8
Acinguiux DS Fabrics
Fabrics are the theming layer for Acinguiux Design System.
Setup
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]
Fetch colors
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
Fetch typography
To fetch typography tokens from Figma run:
$ pnpm fetch:typography
Building styles from tokens
Once you have fetched the tokens, to convert these in to distributable modules run
$ pnpm build