sammndhr / storybook-test-theming

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typescript React Component Library demo of storybook theming with storybook-dark-mode

storybook theming demo with storybook-dark-mode

So far, there hasn't been documentation on how to change the background color of the canvas with storybook toolbar theming controls. The storybook-dark-mode branch of this repo uses the storybook-dark-mode package to demo this.

Make sure to add the package to addons in .storybook/main.js and take a look at .storybook/preview.tsx to see the code.

This library was bootstrapped with TSDX.

Usage

After cloning the repo, run npm run install. Then run npm run storybook.

About

License:MIT License


Languages

Language:TypeScript 89.1%Language:JavaScript 4.1%Language:HTML 3.9%Language:CSS 2.9%