pharos
pharos copied to clipboard
Upgrade to StyleDictionary 4
The problem We want our dependencies to be up to date so we can continue to benefit from and evolve with the ecosystem around us.
The solution Upgrade from StyleDictionary 3 to 4
Additional information See the official migration guidelines.
There are quite a few relevant breaking changes, as much of the breaking change footprint is around fairly commonly-used pieces. We make use of these in at least:
packages/pharos/scripts/build-tokens.mjspackages/pharos/scripts/build-styles.jspackages/pharos/style-dictionary.config.js
Would also recommend the DTCG format as you can start using features like composite tokens. Example PR.