@bitrix24/b24ui-nuxt
Version:
Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE
60 lines (56 loc) • 1.08 kB
text/typescript
import template from "/home/runner/work/b24ui/b24ui/src/theme/avatar-group"
const size = [
"3xs",
"2xs",
"xs",
"sm",
"md",
"lg",
"xl",
"2xl",
"3xl"
] as const
const result = typeof template === 'function' ? (template as Function)({
"colorMode": true
}) : template
const theme = {
"slots": {
"root": "inline-flex justify-end",
"base": "relative rounded-full ring-white dark:ring-base-700 last:me-0"
},
"variants": {
"size": {
"3xs": {
"base": "ring -me-0.5"
},
"2xs": {
"base": "ring -me-0.5"
},
"xs": {
"base": "ring -me-0.5"
},
"sm": {
"base": "ring -me-1.5"
},
"md": {
"base": "ring-2 -me-1.5"
},
"lg": {
"base": "ring-2 -me-1.5"
},
"xl": {
"base": "ring-3 -me-2"
},
"2xl": {
"base": "ring-3 -me-2"
},
"3xl": {
"base": "ring-3 -me-2"
}
}
},
"defaultVariants": {
"size": "md" as typeof size[number]
}
}
export default result as typeof theme