Addon for storybook which toggle dark mode using tailwind css. This helps and simplifies development of dark mode.
npm i --save-dev storybook-addon-tailwindcss-dark-modeor with yarn:
yarn add -D storybook-addon-tailwindcss-dark-modemodule.exports = {
addons: ["storybook-addon-tailwindcss-dark-mode"],
};