codex-marketplace-ui-compon.../.storybook/preview.ts

22 lines
378 B
TypeScript
Raw Permalink Normal View History

2024-08-20 13:57:58 +00:00
import type { Preview } from "@storybook/react";
import { themes } from "@storybook/theming";
const preview: Preview = {
parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
docs: {
theme: themes.dark,
},
backgrounds: {
default: "dark",
},
},
};
export default preview;