@vuesion/storybook-theme-switcher

vuesion Storybook addon for switching themes

Usage no npm install needed!

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

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