@vuesion/storybook-theme-switcher

5.1.1 • Public • Published

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

/@vuesion/storybook-theme-switcher/

    Package Sidebar

    Install

    npm i @vuesion/storybook-theme-switcher

    Weekly Downloads

    61

    Version

    5.1.1

    License

    MIT

    Unpacked Size

    7.22 kB

    Total Files

    8

    Last publish

    Collaborators

    • devcrossnet