import type { Preview } from '@storybook/react'
import { defaultFont } from '../src/app/fonts'

const preview: Preview = {
  decorators: [
    (Story) => {
      return (
        <div className={defaultFont.className}>
          <Story />
        </div>
      )
    },
  ],
  parameters: {
    controls: {
      matchers: {
        color: /(background|color)$/i,
        date: /Date$/i,
      },
    },
  },
}

export default preview
