Chat: make the message you sent stand out (adjustable bubble colour, or a clearer default)
Problem
In Chat, the message I send is hard to pick out from the rest of the conversation. It is right-aligned and capped at 80% width, and its only separation from the page is one tonal step: .chat-bubble uses background: var(--bg-elevated) (#211e1a) over --bg (#12100e), with border: 1px solid var(--bubble-border) — and --bubble-border is transparent in the default dark amber palette and in charcoal, on purpose:
/* the chat's user bubble: no edge where --bg-elevated alone parts it from --bg (the dark
amber and charcoal palettes), --border where the two surfaces sit close */
--bubble-border: transparent;
So in the default theme the bubble has no edge at all, and its fill is close enough to the page that a long message reads as body text with an odd indent. With agent turns being long prose, work blocks and tool output, the one thing I typed is the least visible thing on screen.
There is no way to change only this: the appearance settings switch the whole theme or palette, which changes every surface at once. Custom themes do not reach it either — the bubble's edge is --bubble-border, which is not in THEME_VARS (src/lib/themeBoot.ts:81, built from ROLES in src/lib/themeRoles.ts), and its fill is the shared --bg-elevated step, so a custom theme can only move the bubble by moving every elevated surface with it.
Proposal
Either of these solves it; both is fine:
- A setting for the user's own message. A colour/tint picker (or a small set of presets) for the bubble, defaulting to something clearly different from
--bg. A token already exists for it, so it is one more entry in the appearance settings next to the theme and palette:--bubble-borderplus a new--bubble-bgwould let a theme keep today's look while a user who wants contrast picks it. - A better default. An accent tint or a visible edge on the bubble — the
--accent-tintthat already marks the user's own action elsewhere (--accent: #f0a830,--accent-tint: rgba(240, 168, 48, 0.13)) would tie the message to "this is yours" without adding a colour per palette.
A third option, if the first two are more than you want to carry: keep the palette as it is and raise the tonal step of the bubble only (a --bubble-bg sitting one step above --bg-elevated), which needs no new UI.
I am on the dark amber palette, Chat view, long multi-paragraph messages; happy to test a branch and send screenshots of each theme.