[WEB-5730] fix: user mention colors #8358
This commit is contained in:
parent
dbda7504b2
commit
8bd23ac44b
1 changed files with 6 additions and 3 deletions
|
|
@ -41,9 +41,12 @@ export const EditorUserMention = observer(function EditorUserMention(props: Prop
|
|||
|
||||
return (
|
||||
<div
|
||||
className={cn("not-prose inline px-1 py-0.5 rounded-sm bg-accent-primary/20 text-accent-primary no-underline", {
|
||||
"bg-yellow-500/20 text-yellow-500": id === currentUser?.id,
|
||||
})}
|
||||
className={cn(
|
||||
"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.Button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue