Related Confluence article here: https://unbounce.atlassian.net/wiki/x/A4Dt1g
git clone https://github.com/unbounce/design-token-transformer.git- From within the terminal,
cd(navigate) to this folder. - Run
npm ito install the dependencies.
To use an exported JSON file and transform it locally on your machine, follow the 3 steps below:
- Save the
.jsonfile you exported using the Design Token plugin to thetokensfolder (and remove the example files). - In the terminal
cd(navigate) to this folder. - Run
npm run transform-tokens. - 🎉 Your converted tokens should be in the build folder.