Files
web/components/Levels/variants.ts
2024-06-13 10:00:16 +02:00

20 lines
392 B
TypeScript

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