Files
web/components/TempDesignSystem/Divider/variants.ts
2024-06-19 17:13:00 +02:00

27 lines
526 B
TypeScript

import { cva } from "class-variance-authority"
import styles from "./divider.module.css"
export const dividerVariants = cva(styles.divider, {
variants: {
color: {
burgundy: styles.burgundy,
peach: styles.peach,
subtle: styles.subtle,
},
opacity: {
100: styles.opacity100,
8: styles.opacity8,
},
variant: {
default: styles.default,
dotted: styles.dotted,
},
},
defaultVariants: {
color: "burgundy",
opacity: 100,
variant: "default",
},
})