@bitrix24/b24ui-nuxt
Version:
Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE
18 lines (15 loc) • 874 B
text/typescript
import template from "/home/runner/work/b24ui/b24ui/src/theme/tooltip"
const result = typeof template === 'function' ? (template as Function)({
"colorMode": true
}) : template
const theme = {
"slots": {
"content": "flex items-center gap-1 shadow-sm rounded-2xs select-none data-[state=delayed-open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] min-h-6 px-2 py-1 text-xs bg-base-dark text-white dark:bg-base-dark dark:text-base-150 dark:ring dark:ring-base-100/20 origin-(--reka-tooltip-content-transform-origin) pointer-events-auto",
"arrow": "fill-base-dark dark:fill-base-100/20",
"text": "text-pretty max-w-[200px]",
"kbds": "hidden lg:inline-flex items-center shrink-0 gap-0.5 before:content-[''] before:me-0.5",
"kbdsSize": "sm",
"kbdsDepth": "normal"
}
}
export default result as typeof theme