gertjanreynaert-design-tokens-experiment

experiment for using npm hosted design tokens in an internal project

Usage no npm install needed!

<script type="module">
  import gertjanreynaertDesignTokensExperiment from 'https://cdn.skypack.dev/gertjanreynaert-design-tokens-experiment';
</script>

README

Style Dictionary Complete Example

This starter project has everything you need to get started.

How it works

All of the style properties 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 properties, you will have to run this command again to generate the files.

iOS