feat(SW-375): new tokens
new asset generation logic BREAKING CHANGE: New tokens.
This commit is contained in:
17
packages/design-system/lib/components/Card/variants.ts
Normal file
17
packages/design-system/lib/components/Card/variants.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { cva } from 'class-variance-authority'
|
||||
|
||||
import styles from './card.module.css'
|
||||
|
||||
const config = {
|
||||
variants: {
|
||||
as: {
|
||||
Default: styles.Default,
|
||||
Featured: styles.Featured,
|
||||
},
|
||||
},
|
||||
defaultVariants: {
|
||||
as: 'Default',
|
||||
},
|
||||
} as const
|
||||
|
||||
export const variants = cva(styles.card, config)
|
||||
Reference in New Issue
Block a user