fix(SW-3691): Setup one prettier config for whole repo * Setup prettierrc in root and remove other configs Approved-by: Joakim Jäderberg Approved-by: Linus Flood
23 lines
480 B
TypeScript
23 lines
480 B
TypeScript
import { cva } from "class-variance-authority"
|
|
|
|
import styles from "./videoWithCard.module.css"
|
|
|
|
export const config = {
|
|
variants: {
|
|
variant: {
|
|
text: styles["variant-text"],
|
|
quote: styles["variant-quote"],
|
|
},
|
|
style: {
|
|
"primary-1": styles["style-primary-1"],
|
|
"primary-2": styles["style-primary-2"],
|
|
},
|
|
},
|
|
defaultVariants: {
|
|
style: "primary-1",
|
|
variant: "text",
|
|
},
|
|
} as const
|
|
|
|
export const variants = cva(styles.card, config)
|