Files
web/components/Levels/variants.ts
2024-05-30 17:56:56 +02:00

19 lines
343 B
TypeScript

import { cva } from "class-variance-authority"
import styles from "./levels.module.css"
const config = {
variants: {
color: {
burgundy: styles.burgundy,
pale: styles.pale,
red: styles.red,
},
},
defaultVariants: {
color: "burgundy",
},
} as const
export const levelVariants = cva(styles.level, config)