Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

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

Aaryan Khandelwal8bd23ac44b40
diff --git a/apps/web/core/components/editor/embeds/mentions/user.tsx b/apps/web/core/components/editor/embeds/mentions/user.tsx
index cb92aa538b..7d47857f0f 100644
--- a/apps/web/core/components/editor/embeds/mentions/user.tsx
+++ b/apps/web/core/components/editor/embeds/mentions/user.tsx
@@ -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>