🎨 style(MentionItem): update active bg-color (#2675)

This commit is contained in:
Danny Avila 2024-05-12 09:20:59 -04:00 committed by GitHub
parent a4de635719
commit bcdddaed72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@ export default function MentionItem({
<div
className={cn(
'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' : '',
isActive ? 'bg-gray-100 dark:bg-gray-600' : '',
)}
>
{icon ? icon : null}