Design tokens generator & CSS pipeline template using Style Dictionary. 🎨
This repo is a starter kit for generating (dark theme supported) design tokens using Style Dictionary using a custom config. Regular CSS processing is also supported using PostCSS.
- Token value is stored as
value
- Dark theme value is stored as
darkValue
- Node v12.18.0
- NPM v6.14.4
Make sure you have the required global packages installed. In the root of this project run the following command to install all required dependencies.
npm install
npm run build - builds the CSS for the design tokens
More README content coming soon - but check out the package.json
for more CLI commands.