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

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

const config = {
  variants: {
    color: {
      black: styles.black,
      burgundy: styles.burgundy,
      pale: styles.pale,
    },
    textAlign: {
      center: styles.center,
      left: styles.left,
    },
    textTransform: {
      regular: styles.regular,
      uppercase: styles.uppercase,
    },
  },
  defaultVariants: {
    color: "burgundy",
    textAlign: "left",
    textTransform: "regular",
  },
} as const

export const subtitleVariants = cva(styles.subtitle, config)
