README
@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' }],
},
});