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

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

const config = {
  variants: {
    color: {
      black: styles.black,
      burgundy: styles.burgundy,
      grey80: styles.grey80,
      pale: styles.pale,
      peach80: styles.peach80,
      primaryLightOnSurfaceAccent: styles.plosa,
      red: styles.red,
      green: styles.green,
    },
  },
  defaultVariants: {
    color: "black",
  },
} as const

export const iconVariants = cva(styles.icon, config)
