Files
web/components/TempDesignSystem/Text/Subtitle/variants.ts

23 lines
452 B
TypeScript

import { cva } from "class-variance-authority"
import styles from "./subtitle.module.css"
const config = {
variants: {
color: {
burgundy: styles.burgundy,
pale: styles.pale,
},
textTransform: {
regular: styles.regular,
uppercase: styles.uppercase,
},
},
defaultVariants: {
color: "burgundy",
textTransform: "regular",
},
} as const
export const subtitleVariants = cva(styles.subtitle, config)