From 6047a1153799c67bcb9c509f6a892bbde9f1cc04 Mon Sep 17 00:00:00 2001 From: klopez4212 Date: Sun, 5 Jul 2026 07:31:40 +0100 Subject: [PATCH] Make mention chips legible inside own message bubbles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The mention chip's standalone palette is primary text on a primary tint — inside the primary-colored own bubble that disappears entirely, rendering mentioned names as blank gaps. Chips in own bubbles now derive from currentColor like the link chips (translucent fill, inherited text), staying legible on any bubble in both themes. The agent-mention icon already draws with currentColor, so it follows. Co-Authored-By: Claude Fable 5 --- desktop/src/shared/styles/globals/markdown.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/desktop/src/shared/styles/globals/markdown.css b/desktop/src/shared/styles/globals/markdown.css index 8cdb3fe67..2f7ef36a0 100644 --- a/desktop/src/shared/styles/globals/markdown.css +++ b/desktop/src/shared/styles/globals/markdown.css @@ -91,6 +91,15 @@ color: currentColor; } +/* Mention chips get the same treatment: their standalone palette is + primary-on-primary-tint, which disappears entirely inside the + primary-colored own bubble (names rendered as blank gaps). currentColor + derivation keeps them legible on any bubble. */ +.buzz-own-bubble-links .message-markdown .mention-chip { + background: color-mix(in oklab, currentColor 16%, transparent); + color: inherit; +} + .message-markdown .mention-chip, .message-markdown .inline-code-chip, .message-markdown :not(pre) > code {