chore(Tooltip): update

This commit is contained in:
Benjamin Canac
2024-03-07 23:33:17 +01:00
parent c3903f0da1
commit 9592ca9f72
2 changed files with 40 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
export default {
slots: {
content: 'bg-white dark:bg-gray-900 text-gray-900 dark:text-white shadow rounded ring-1 ring-gray-200 dark:ring-gray-800 h-6 px-2 py-1 text-xs font-normal truncate relative',
content: 'bg-white dark:bg-gray-900 text-gray-900 dark:text-white shadow rounded ring-1 ring-gray-200 dark:ring-gray-800 h-6 px-2 py-1 text-xs font-normal truncate relative data-[state=delayed-open]:data-[side=top]:animate-[slideDown_200ms_ease-out] data-[state=delayed-open]:data-[side=right]:animate-[slideLeft_200ms_ease-out] data-[state=delayed-open]:data-[side=left]:animate-[slideRight_200ms_ease-out] data-[state=delayed-open]:data-[side=bottom]:animate-[slideUp_200ms_ease-out] data-[state=closed]:data-[side=top]:animate-[slideUp_200ms_ease-in] data-[state=closed]:data-[side=right]:animate-[slideRight_200ms_ease-in] data-[state=closed]:data-[side=left]:animate-[slideLeft_200ms_ease-in] data-[state=closed]:data-[side=bottom]:animate-[slideDown_200ms_ease-in]',
arrow: 'fill-white dark:fill-gray-900'
}
}