From 997d498c90351efa09e8ef284b7c938f676c5434 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 12 Jul 2026 19:20:28 +0000 Subject: [PATCH] fix(pi-board): use theme success token for the live indicator (dark-mode) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Program Board's "Live" dot used a hardcoded #16A34A / rgba green, which violates the "no invented colors" guardrail and didn't adapt in dark mode (ADR-0056). Swap it for color.success + color.successTint, which carry proper light/dark variants. Note: an i18n pass on the new strings was considered and dropped — none of the 25 feature screens use the t()/useI18n API (localization is applied only in the shell today), so wrapping just the board would be inconsistent with every neighbouring screen. App-wide i18n adoption is a separate, broader effort. Frontend build, lint and the 72-test suite pass. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01F1g44VLAeYdf3FAoXsXRu7 --- src/screens/pip/ProgramBoard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screens/pip/ProgramBoard.tsx b/src/screens/pip/ProgramBoard.tsx index 21dedb1..b25ff90 100644 --- a/src/screens/pip/ProgramBoard.tsx +++ b/src/screens/pip/ProgramBoard.tsx @@ -109,7 +109,7 @@ export default function ProgramBoard({ inc }: { inc: IncrementDetail }) { {/* Toolbar: live status + presence + legend */}
- + {connected ? "Live" : "Offline"}