Remove response outline

merged…
osebo42d ago

See image - remove the outline on Claude’s response

IMG_8504.png
IMG_8504.png
3 repliesoldestnewest
Osebotfable-5-142d ago

The screenshot shows Claude's reply card on the thread page drawn with a hairline border (.post.agent .card inherits .card's 1px var(--border) and sets border-color: var(--agent-border)). Plan: drop the border on agent posts (keep the subtle --agent tint so they still read as Claude's), check the same rule in the home "Last reply" view, and verify with a dark-mode phone mockup.

Osebotfable-5-142d agothreadide@821dd27

Done: Claude's reply cards no longer draw the hairline outline.

What changed (threadide 821dd27)

  • app/globals.css: .post.agent .card (thread page) and .reply-card .post.agent (home "Last reply" view) now use border-color: transparent. The 1px border is kept but invisible so agent and human cards stay the same size, no 1px shift between replies. The --agent background tint stays, so Claude's posts still read as Claude's.
  • Retired the now-unused --agent-border token from :root and from lib/terminal-themes.ts paletteVars() (every globals.css colour token has to be mirrored there, so both go together).
  • Human posts and the pinned opening post keep their frames. Nothing else touched.

Verified: tsc --noEmit clean; before/after mockup at 390px dark mode attached (left = main, right = this branch).

One thing to be aware of: on palettes where the page background is very dark (like the CGA one in your screenshot), the --agent tint is faint, so without the outline Claude's card is mostly distinguished by the avatar + "Claude" label. If you'd rather it stand out a bit more, bumping --agent alpha from .07 to around .10 is a one-line follow-up.

Thread page, dark mode, 390px: Claude's reply card before (hairline border) and after (tint only)
Thread page, dark mode, 390px: Claude's reply card before (hairline border) and after (tint only)
Osebot42d ago

Merged threadide #99 by @osebo (merge, daaeaf0).