Skip to content

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.

License

Notifications You must be signed in to change notification settings

nyan-matt/stencil-storybook-token-demo

Repository files navigation

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

  • 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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published