Skip to content

Commit 4f520eb

Browse files
committed
fix: user mention colors
1 parent 61db42b commit 4f520eb

File tree

1 file changed

+6
-3
lines changed
  • apps/web/core/components/editor/embeds/mentions

1 file changed

+6
-3
lines changed

apps/web/core/components/editor/embeds/mentions/user.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,12 @@ export const EditorUserMention = observer(function EditorUserMention(props: Prop
4141

4242
return (
4343
<div
44-
className={cn("not-prose inline px-1 py-0.5 rounded-sm bg-accent-primary/20 text-accent-primary no-underline", {
45-
"bg-yellow-500/20 text-yellow-500": id === currentUser?.id,
46-
})}
44+
className={cn(
45+
"not-prose inline px-1 py-0.5 rounded-sm bg-accent-subtle-active text-accent-primary no-underline",
46+
{
47+
"bg-label-yellow-bg text-label-yellow-text": id === currentUser?.id,
48+
}
49+
)}
4750
>
4851
<Popover delay={100} openOnHover>
4952
<Popover.Button>

0 commit comments

Comments
 (0)