acinguiux-ds-fabrics
v0.0.5
Published
Fabrics are the theming layer for acinguiux Design System.
Downloads
135
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: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