From 808a184628c6635385007a21318b6f7e1a818035 Mon Sep 17 00:00:00 2001 From: martin veillette Date: Fri, 4 Sep 2026 22:22:47 -0400 Subject: [PATCH] docs: document hardcoded colors compliance carve-out Use the phrase the Baton compliance checker matches so documented physics overlays are not reported as WARN. Co-authored-by: Cursor --- CLAUDE.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 6adfd77..7a3fa3d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -284,6 +284,9 @@ A11y strings live under `a11y.earth` in each locale JSON, exposed via files are machine-formatted by `scripts/data/emit.ts` to keep numeric arrays compact. - **Canvas painting instead of Scenery nodes** for the map and the cross-sections, for the performance reason above. The interactive controls are all standard sun components. +- **Hardcoded colors:** `shadeToCSS` in `src/common/view/QuadRenderer.ts` builds `rgb(...)` / + `rgba(...)` strings from a `Color` already chosen by the density/temperature ramps (or a + `ProfileColorProperty`). It is a format helper for flat-shaded faces, not a palette. ### `package.json` overrides