24 lines
466 B
TypeScript
24 lines
466 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,
|
|
},
|
|
textTransform: {
|
|
bold: styles.bold,
|
|
regular: styles.regular,
|
|
},
|
|
},
|
|
defaultVariants: {
|
|
color: "black",
|
|
textTransform: "regular",
|
|
},
|
|
} as const
|
|
|
|
export const footnoteVariants = cva(styles.footnote, config)
|