@greifmatthias/storybook-cssvar-theming-addon
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Release

Storybook Addon CssVar Theming

Overwrite Story CSSVars for displaying theming changes

Development scripts

  • yarn start runs babel in watch mode and starts Storybook
  • yarn build build and package your addon code

Switch from TypeScript to JavaScript

Don't want to use TypeScript? We offer a handy eject command: yarn eject-ts

This will convert all code to JS. It is a destructive process, so we recommended running this before you start writing any code.

Release Management

Setup

This project is configured to use auto for release management. It generates a changelog and pushes it to both GitHub and npm. Therefore, you need to configure access to both:

  • NPM_TOKEN Create a token with both Read and Publish permissions.
  • GH_TOKEN Create a token with the repo scope.

Local

To use auto locally create a .env file at the root of your project and add your tokens to it:

GH_TOKEN=<value you just got from GitHub>
NPM_TOKEN=<value you just got from npm>

Package Sidebar

Install

npm i @greifmatthias/storybook-cssvar-theming-addon

Weekly Downloads

10

Version

1.0.3

License

MIT

Unpacked Size

50.9 kB

Total Files

62

Last publish

Collaborators

  • greifmatthias