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

27 lines
524 B
TypeScript

import { cva } from "class-variance-authority"
import styles from "./footnote.module.css"
const config = {
variants: {
color: {
black: styles.black,
burgundy: styles.burgundy,
pale: styles.pale,
},
textAlign: {
center: styles.center,
left: styles.left,
},
textTransform: {
bold: styles.bold,
regular: styles.regular,
},
},
defaultVariants: {
textTransform: "regular",
},
} as const
export const footnoteVariants = cva(styles.footnote, config)