@bigpicturemedical/medkit-tokens

Design Tokens and assets created using style-dictionary lib

Usage no npm install needed!

<script type="module">
  import bigpicturemedicalMedkitTokens from 'https://cdn.skypack.dev/@bigpicturemedical/medkit-tokens';
</script>

README

MedKit Tokens

Design Tokens and assets created using style-dictionary lib

  • All the SVGs are minified and optimized using svgo lib

Project setup ( Install all the required deps)

yarn

Build Tokens

yarn build

Add a new svg asset

1 - add the svg file into assets/svg folder 2 - optimise the svgs: yarn svgo 3 - create a reference of the file in the dictionary folder : dictionary/properties 4 - build the tokens: yarn build