5.1.1 • Published 8 months ago

@vuesion/storybook-theme-switcher v5.1.1

Weekly downloads
97
License
MIT
Repository
github
Last release
8 months ago

@vuesion/storybook-theme-switcher

storybook addon to switch themes in the vuesion project

Usage

addons.js

import '@vuesion/storybook-theme-switcher/register'

config.js

addParameters({
  themeSwitcher: {
    themes: [{ label: 'Light Theme', value: 'light' }, { label: 'Dark Theme', value: 'dark' }],
  },
});