Files
web/packages/design-system/lib/components/Label/variants.ts
Christian Andolf f6be4f275e refactor: move input and label to design system
correct variables according to design system spec

various cleanup
2025-06-13 13:07:38 +02:00

21 lines
390 B
TypeScript

import { cva } from 'class-variance-authority'
import styles from './label.module.css'
export const labelVariants = cva(styles.label, {
variants: {
size: {
small: styles.small,
regular: styles.regular,
discreet: styles.discreet,
},
required: {
true: styles.required,
},
},
defaultVariants: {
size: 'regular',
required: false,
},
})