Compare commits

...

1 Commits

Author SHA1 Message Date
62a4414968 fix(web): inject --bot-accent CSS variable into bot bubbles for colored accent borders
Some checks failed
ci / Detect product changes (push) Has been cancelled
ci / Lint (push) Has been cancelled
ci / Typecheck (push) Has been cancelled
ci / Production builds (push) Has been cancelled
ci / Unit tests (push) Has been cancelled
ci / Postgres journeys (push) Has been cancelled
ci / Web E2E (push) Has been cancelled
ci / Product CI (push) Has been cancelled
ci / Publish compatible mobile update (push) Has been cancelled
publish-server-image / Detect image publish inputs (push) Has been cancelled
publish-server-image / Compose installer smokes (push) Has been cancelled
publish-server-image / Validate app image (push) Has been cancelled
publish-server-image / Validate updater image (push) Has been cancelled
publish-server-image / Validate computer image (push) Has been cancelled
publish-server-image / Build app amd64 (push) Has been cancelled
publish-server-image / Build updater amd64 (push) Has been cancelled
publish-server-image / Build computer amd64 (push) Has been cancelled
publish-server-image / Publish app image (push) Has been cancelled
publish-server-image / Publish computer image (push) Has been cancelled
publish-server-image / Publish updater image (push) Has been cancelled
The CSS uses --bot-accent for the tinted background and left border, but the
inline style injection was missing after the remote merge. Add speakerColorDef.hex
to the two bot bubble render locations so the accent color actually applies.
2026-10-23 13:35:23 +00:00

View File

@ -1708,6 +1708,7 @@ const MessageView = memo(function MessageView({
<div
data-testid="message-bot-bubble"
className="chat-bubble-bot max-w-full space-y-3 rounded-[24px] rounded-tl-md px-5 py-3.5 text-ui-body leading-[1.62] text-foreground/95"
style={{ ["--bot-accent" as string]: speakerColorDef.hex }}
dir="auto"
>
{visibleNarrationBlocks.map((block, i) => {
@ -2103,6 +2104,7 @@ const MessageView = memo(function MessageView({
<div
data-testid="message-bot-bubble"
className="chat-bubble-bot max-w-full space-y-3 rounded-[24px] rounded-tl-md px-6 py-4 text-ui-reading leading-[1.85] text-foreground/95"
style={{ ["--bot-accent" as string]: speakerColorDef.hex }}
dir="auto"
>
<BotTextBlockContent