25 lines
491 B
TypeScript
25 lines
491 B
TypeScript
import { cva } from "class-variance-authority"
|
|
|
|
import styles from "./body.module.css"
|
|
|
|
const config = {
|
|
variants: {
|
|
color: {
|
|
black: styles.black,
|
|
burgundy: styles.burgundy,
|
|
pale: styles.pale,
|
|
},
|
|
textTransform: {
|
|
bold: styles.bold,
|
|
regular: styles.regular,
|
|
underlined: styles.underlined,
|
|
},
|
|
},
|
|
defaultVariants: {
|
|
color: "black",
|
|
textTransform: "regular",
|
|
},
|
|
} as const
|
|
|
|
export const bodyVariants = cva(styles.body, config)
|