This is a companion project to token-demo-src, an example design token build pipeline.
This repo contains a sample component built in Stencil documented in Storybook that consumes design token pipeline outputs (css variables) for a themeable button component.
The repository has a companion blog post if you'd like more context.
- Watch for design token changes
- Transform tokens
- Output css variables
- Push css variables to
stencil-storybook-token-demo
- Watch for css variable changes
- Trigger new stencil / storybook build
- Deploy to Github Pages
npm start
npm run storybook
npm run build-storybook
- /doc folder configured