This repo is used to build the wellcome-design-system
npm package which outputs style values for import into digital products across Wellcome.
Design tokens are created in Figma via Tokens Studio and can be pushed from within the plugin to a branch where they are stored as tokens.json
.
This tokens file is then used in conjunction with Style Dictionary to create style values in various required formats (css, js, tailwind).
(TODO: we're currently only generating a js format)
After an approved PR to main
:
- Pull the repo
- Run
npm run build
- Update the version number in package.json with appropriate semver
- Run
npm publish