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

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

export const linkVariants = cva(styles.link, {
  variants: {
    active: {
      true: styles.active,
    },
    size: {},
    variant: {
      default: styles.default,
      sidebar: styles.sidebar,
    },
  },
  defaultVariants: {
    variant: "default",
  },
  compoundVariants: [
    {
      class: styles.activeSidebar,
      active: true,
      variant: "sidebar",
    },
  ],
})
