Design system and any other design stuff of InKCre
Designer will push tokens from Figma using plugin lukasoppermann/design-token-transformer. So keep tokens/inkcre.tokens.json read-only.
scripts/build-tokens.mjs will transform tokens/inkcre.tokens.json into each packages styles code:
- For
packages/web-design, will generatesstyles/tokens/_ref.scss,styles/tokens/_sys.scssandstyles/tokens/_comp.scss
scripts/build-tokens.mjs relies on Style Dictionary to transform tokens.
Tokens are listed in tokens/tokes.md
Packages are hosted on Github NPM Registry, make sure you configure environment variable NODE_AUTH_TOKEN or you will get warnings from your package manager.