acinguiux-ds-fabrics
v0.1.1
Published
Fabrics are the theming layer for Acinguiux Design System.
Readme
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:colorsTo fetch Acinguiux Recharge color tokens for light and dark mode run:
$ pnpm fetch:rechargeFetch typography
To fetch typography tokens from Figma run:
$ pnpm fetch:typographyBuilding styles from tokens
Once you have fetched the tokens, to convert these in to distributable modules run
$ pnpm build