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

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

export default preview
