build-tokens.js
Written from, checked by, read by
Exports DDD and SimpleColors as DTCG from the element source; --check fails CI when the committed files are stale. Last check here: checked 4 files in elements/d-d-d/tokens: 820 tokens, 256 dark overrides; not exported (RGB channel triplets and component defaults): 35.
Connects to
- Writes $metadata.json
- Writes $themes.json
- Writes ddd.dark.tokens.json
- Writes ddd.tokens.json
- DDDStyles.js feeds this
- DDDStatusTokens.js feeds this
- simple-colors-shared-styles.js feeds this
- simple-colors.js feeds this
- DDDLayout.js feeds this
- DTCG token export is up to date checks this