Skip to content

Commit d2cb625

Browse files
kateebonnerclaude
andcommitted
docs(adr-0002): reference frame is per-theme brightest palette value (dark #fff676 / light #8f8000)
The light-mode Brain never paints #fff676; validating the light tint against it would derive a near-transparent tint that silently fails AA over the real light frame. Reconciles the durable record with slice-2 derivation. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 9620c9d commit d2cb625

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎packages/app/docs/adr/0002-brain-as-chat-background.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ construction — not by eye:**
4343
- **Tint** — contrast comes entirely from a tint whose **opacity is pinned to clear the WCAG-AA
4444
floor (with a small safety margin, not exactly at the floor) over a fixed reference frame** —
4545
a synthetic Brain at peak bloom in which the sampled backdrop is the brightest palette value
46-
(`#fff676`). Blur smooths the backdrop but does not darken it; a card over a bright-yellow
46+
**the Brain actually paints in that theme** (peak `#fff676` on dark; peak `#8f8000` on light —
47+
the light-mode Brain never paints `#fff676`, so validating against it there would derive a
48+
near-transparent tint that silently fails over the real light frame). Blur smooths the backdrop but does not darken it; a card over a bright-yellow
4749
cluster is still on bright yellow until the tint pulls the composite toward the ink. The tint
4850
set is **keyed to the chat's own theme** — the chat runs a theme independent of the app shell
4951
(default oc-2) — so a chat-theme change re-keys the Glass and re-validates contrast. **Two

0 commit comments

Comments
 (0)