[WEB-5730] fix: user mention colors #8358

This commit is contained in:
Aaryan Khandelwal 2025-12-17 17:53:22 +05:30 committed by GitHub
parent dbda7504b2
commit 8bd23ac44b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,9 +41,12 @@ export const EditorUserMention = observer(function EditorUserMention(props: Prop
return ( return (
<div <div
className={cn("not-prose inline px-1 py-0.5 rounded-sm bg-accent-primary/20 text-accent-primary no-underline", { className={cn(
"bg-yellow-500/20 text-yellow-500": id === currentUser?.id, "not-prose inline px-1 py-0.5 rounded-sm bg-accent-subtle-active text-accent-primary no-underline",
})} {
"bg-label-yellow-bg text-label-yellow-text": id === currentUser?.id,
}
)}
> >
<Popover delay={100} openOnHover> <Popover delay={100} openOnHover>
<Popover.Button> <Popover.Button>