🎨 style(MentionItem): update hover color (#2670)

* style(MentionItem): update hover color

* remove unused className
This commit is contained in:
Marco Beretta 2024-05-12 03:12:22 +02:00 committed by GitHub
parent 4a32d7466a
commit a4de635719
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,7 +21,7 @@ export default function MentionItem({
<div tabIndex={index} onClick={onClick} id={`mention-item-${index}`} className="cursor-pointer">
<div
className={cn(
'hover:bg-token-main-surface-secondary text-token-text-primary bg-token-main-surface-secondary group flex h-10 items-center gap-2 rounded-lg px-2 text-sm font-medium dark:hover:bg-gray-600',
'text-token-text-primary bg-token-main-surface-secondary group flex h-10 items-center gap-2 rounded-lg px-2 text-sm font-medium hover:bg-gray-100 dark:hover:bg-gray-600',
isActive ? 'dark:bg-gray-600' : '',
)}
>