Files
web/components/TempDesignSystem/Divider/variants.ts
Matilda Landström 801a041404 Merged in feat/best-friend-hero (pull request #338)
Feat(SW-170): Update overview hero

Approved-by: Christel Westerberg
2024-07-12 06:45:44 +00:00

30 lines
605 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,
beige: styles.beige,
white: styles.white,
subtle: styles.subtle,
pale: styles.pale,
},
opacity: {
100: styles.opacity100,
8: styles.opacity8,
},
variant: {
default: styles.default,
dotted: styles.dotted,
},
},
defaultVariants: {
color: "burgundy",
opacity: 100,
variant: "default",
},
})