24 lines
483 B
TypeScript
24 lines
483 B
TypeScript
import { cva } from "class-variance-authority"
|
|
|
|
import styles from "./preamble.module.css"
|
|
|
|
const config = {
|
|
variants: {
|
|
color: {
|
|
black: styles.black,
|
|
burgundy: styles.burgundy,
|
|
pale: styles.pale,
|
|
textMediumContrast: styles.textMediumContrast,
|
|
},
|
|
textAlign: {
|
|
center: styles.center,
|
|
left: styles.left,
|
|
},
|
|
},
|
|
defaultVariants: {
|
|
color: "black",
|
|
},
|
|
} as const
|
|
|
|
export const preambleVariants = cva(styles.preamble, config)
|