import type { Preview } from '@storybook/react-vite' import { MantineProvider } from '@mantine/core' import { Notifications } from '@mantine/notifications' import '@mantine/core/styles.css' import '@mantine/notifications/styles.css' import '../src/App.css' import { theme } from '../src/theme/theme' const preview: Preview = { decorators: [ (Story) => ( ), ], parameters: { controls: { matchers: { color: /(background|color)$/i, date: /Date$/i, }, }, a11y: { test: 'todo', }, layout: 'centered', }, } export default preview