Improve dark theme user/assistant message distinction

Add per-role left accent stripes and color-coded header labels across
all themes. Lighten the dark theme user-message background, decouple it
from the generic hover color, and brighten the user border so user and
assistant turns are clearly distinguishable.
This commit is contained in:
Federico Jaramillo Martinez
2026-06-13 21:26:08 +02:00
parent a369b1e550
commit cfb7493384
3 changed files with 12 additions and 4 deletions
@@ -0,0 +1,5 @@
---
"@jmfederico/pi-web": patch
---
Improve user/assistant message distinction in the dark theme. Previously the user and assistant message backgrounds were nearly identical (contrast ratio ~1.06), making it hard to tell speakers apart. Each message now has a colored left accent stripe by role (brand accent for user, neutral for assistant) with matching header labels, applied across all themes. The dark theme's user-message background was also lightened and decoupled from the generic hover color, and the user border brightened, so user turns stand out clearly.