Files
web/components/TempDesignSystem/CardGrid/variants.ts
2024-06-13 14:13:51 +02:00

21 lines
486 B
TypeScript

import { cva } from "class-variance-authority"
import styles from "./cardGrid.module.css"
export const cardGridVariants = cva(styles.gridContainer, {
variants: {
isMobileCarousel: {
true: styles.carousel,
},
variant: {
twoColumnGrid: styles.twoColumnGrid,
threeColumnGrid: styles.threeColumnGrid,
fourColumnGrid: styles.fourColumnGrid,
twoPlusOne: styles.twoPlusOne,
},
},
defaultVariants: {
variant: "threeColumnGrid",
},
})