33 lines
659 B
TypeScript
33 lines
659 B
TypeScript
import { cva } from "class-variance-authority"
|
|
|
|
import styles from "./biroScript.module.css"
|
|
|
|
const config = {
|
|
variants: {
|
|
color: {
|
|
black: styles.black,
|
|
burgundy: styles.burgundy,
|
|
pale: styles.pale,
|
|
peach80: styles.peach80,
|
|
primaryLightOnSurfaceAccent: styles.plosa,
|
|
},
|
|
textAlign: {
|
|
center: styles.center,
|
|
left: styles.left,
|
|
},
|
|
type: {
|
|
one: styles.one,
|
|
two: styles.two,
|
|
},
|
|
tilted: {
|
|
small: styles.tiltedSmall,
|
|
large: styles.tiltedLarge,
|
|
},
|
|
},
|
|
defaultVariants: {
|
|
type: "one",
|
|
},
|
|
} as const
|
|
|
|
export const biroScriptVariants = cva(styles.text, config)
|