@violetprotocol/nudge-components
Version:
Components for Nudge's websites and applications.
25 lines (19 loc) • 452 B
text/typescript
import type { Preview } from "@storybook/react";
import "../src/index.css";
import { withThemeByClassName } from "@storybook/addon-themes";
const preview: Preview = {
parameters: {
backgrounds: { disable: true },
},
decorators: [
withThemeByClassName({
themes: {
// nameOfTheme: 'classNameForTheme',
light: "",
dark: "dark",
},
defaultTheme: "light",
}),
],
};
export default preview;