UNPKG

@vuesion/addon-theme-switcher

Version:

vuesion Storybook addon for switching themes

19 lines (15 loc) 369 B
# `@vuesion/addon-theme-switcher` > storybook addon to switch themes in the [vuesion project](https://github.com/vuesion/vuesion) # Usage `addons.js` ``` import '@vuesion/addon-theme-switcher/register' ``` `config.js` ``` addParameters({ themeSwitcher: { themes: [{ label: 'Light Theme', value: 'light' }, { label: 'Dark Theme', value: 'dark' }], }, }); ```