mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-17 05:28:09 +01:00
43 lines
950 B
TypeScript
43 lines
950 B
TypeScript
export default {
|
|
slots: {
|
|
root: 'inline-flex items-center justify-center shrink-0 select-none overflow-hidden rounded-full align-middle bg-gray-100 dark:bg-gray-800',
|
|
image: 'h-full w-full rounded-[inherit] object-cover',
|
|
fallback: 'font-medium leading-none text-gray-500 dark:text-gray-400 truncate',
|
|
icon: 'text-gray-500 dark:text-gray-400 shrink-0'
|
|
},
|
|
variants: {
|
|
size: {
|
|
'3xs': {
|
|
root: 'size-4 text-[8px]'
|
|
},
|
|
'2xs': {
|
|
root: 'size-5 text-[10px]'
|
|
},
|
|
xs: {
|
|
root: 'size-6 text-xs'
|
|
},
|
|
sm: {
|
|
root: 'size-7 text-sm'
|
|
},
|
|
md: {
|
|
root: 'size-8 text-base'
|
|
},
|
|
lg: {
|
|
root: 'size-9 text-lg'
|
|
},
|
|
xl: {
|
|
root: 'size-10 text-xl'
|
|
},
|
|
'2xl': {
|
|
root: 'size-11 text-[22px]'
|
|
},
|
|
'3xl': {
|
|
root: 'size-12 text-2xl'
|
|
}
|
|
}
|
|
},
|
|
defaultVariants: {
|
|
size: 'sm'
|
|
}
|
|
}
|