24 lines
534 B
TypeScript
24 lines
534 B
TypeScript
import { cva } from "class-variance-authority"
|
|
|
|
import styles from "./card.module.css"
|
|
|
|
export const cardVariants = cva(styles.container, {
|
|
variants: {
|
|
theme: {
|
|
one: styles.themeOne,
|
|
two: styles.themeTwo,
|
|
three: styles.themeThree,
|
|
|
|
primaryDark: styles.themePrimaryDark,
|
|
primaryDim: styles.themePrimaryDim,
|
|
primaryInverted: styles.themePrimaryInverted,
|
|
primaryStrong: styles.themePrimaryStrong,
|
|
|
|
image: styles.themeImage,
|
|
},
|
|
},
|
|
defaultVariants: {
|
|
theme: "one",
|
|
},
|
|
})
|