Unify document artifact backgrounds to the off-white content color

markdown/html_fragment (report, tasks, base themes) and the json/csv viewers
each used their own near-white background (cream #fffaf0, light-blue
#f7fbff, or plain white). They now all use #faf9f6 — the same off-white the
preview area uses for image/binary artifacts — so browsing across kinds is
visually consistent.

Left as-is on purpose: deck (intentional dark slide background; switching it
would require reworking its light text colors), html_full (served verbatim,
poster owns styling), and pdf (the browser's own viewer chrome). Existing
json/csv artifacts keep their baked-in #fffaf0, which is visually
indistinguishable from #faf9f6; only new ones get the exact value.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
peter 2026-09-03 13:30:36 +01:00
parent 5fd97a29a1
commit 95b159c0df
4 changed files with 5 additions and 4 deletions

View file

@ -1,7 +1,7 @@
@import url("/static/themes/base.css");
body.artifact {
background: #fffaf0;
background: #faf9f6;
color: #1e2b2f;
font-family: Georgia, "Times New Roman", serif;
font-size: 1.08rem;