An open API service indexing awesome lists of open source software.

https://github.com/joduplessis/design-tokens

Design tokens generator & CSS pipeline template using Style Dictionary. 🎨
https://github.com/joduplessis/design-tokens

css design-tokens post-css sass style-dictionary

Last synced: about 1 month ago
JSON representation

Design tokens generator & CSS pipeline template using Style Dictionary. 🎨

Awesome Lists containing this project

README

        

# Design Tokens
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`

## Installation

### Global packages

- 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.

#### Installing 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.