import { cva } from "class-variance-authority"

import styles from "./table.module.css"

export const tableVariants = cva(styles.table, {
  variants: {
    intent: {
      light: styles.light,
      striped: styles.striped,
    },
    variant: {
      content: styles.content,
    },
    borderRadius: {
      none: "",
      small: styles.smallRadius,
      medium: styles.mediumRadius,
      large: styles.largeRadius,
    },
    layout: {
      fixed: styles.fixed,
    },
  },
  defaultVariants: {
    borderRadius: "medium",
  },
})
