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-mode
or with yarn:
yarn add -D storybook-addon-tailwindcss-dark-mode
module.exports = {
addons: ["storybook-addon-tailwindcss-dark-mode"],
};