@vuesion/addon-theme-switcher

vuesion Storybook addon for switching themes

Usage no npm install needed!

<script type="module">
  import vuesionAddonThemeSwitcher from 'https://cdn.skypack.dev/@vuesion/addon-theme-switcher';
</script>

README

@vuesion/addon-theme-switcher

storybook addon to switch themes in the vuesion project

Usage

addons.js

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

config.js

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