UNPKG

style-dictionary

Version:

Style once, use everywhere. A build system for creating cross-platform styles.

19 lines (11 loc) 600 B
# Style Dictionary Complete Example This starter project has everything you need to get started. ## How it works All of the design tokens and assets are in this package. Make any changes to suit your needs. This package has iOS, Android, and web code. To get started, run ``` $ npm install $ npm run build ``` The npm build task is what performs the style dictionary build steps to generate the files for each platform. Every time you change something in the style dictionary, like changing colors or adding design tokens, you will have to run this command again to generate the files. ## iOS