import { extendTheme } from "@teste-ui/react"
import { Parameters, Story } from "@storybook/react"

export const parameters: Parameters = {
  options: {
    storySort: (a: Story, b: Story) =>
      a[1].kind === b[1].kind
        ? 0
        : a[1].id.localeCompare(b[1].id, undefined, { numeric: true }),
  },
  chakra: {
    theme: extendTheme({
      semanticTokens: {
        colors: {
          semantic: {
            default: "red.500",
            _light: "red.500",
            _dark: "blue.400",
          },
        },
      },
    }),
  },
}

export const decorators = []
