0.0.7 • Published 7 months ago
@kevinmoral.es/my-button-component v0.0.7
Design token automation (build and deploy components)
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.
High-level workflow
token-demo-src
- Watch for design token changes
- Transform tokens
- Output css variables
- Push css variables to
stencil-storybook-token-demo
stencil-storybook-token-demo
- Watch for css variable changes
- Trigger new stencil / storybook build
- Deploy to Github Pages
Running locally
Stencil
npm start
Storybook
npm run storybook
Build Storybook
npm run build-storybook
- /doc folder configured
0.0.7
7 months ago