From 20fb93acb912582a75b4187b5d9ea1a7db4a455e Mon Sep 17 00:00:00 2001 From: Ram Date: Mon, 14 Sep 2026 15:02:52 -0700 Subject: [PATCH] fix(chore-metrics): use the core --text variable, not --text-color MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --text-color is not defined by client/src/index.css, which is the stylesheet plugins link as /index.css. It came from a hardcoded substitute the backend served whenever it could not find the real file — which was always, in any container deployment, because the backend image cannot contain client source. That substitute used a different vocabulary, and this is the only plugin written against it. With the real stylesheet now served, --text-color resolves to nothing and the declared fallback #333 applies: dark grey text on --card-bg #2a2a2a. The core name is --text. The literal fallback stays as-is; it only applies if the stylesheet fails to load entirely. --- chore-metrics.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chore-metrics.html b/chore-metrics.html index 4a64c98..0f106e5 100644 --- a/chore-metrics.html +++ b/chore-metrics.html @@ -35,7 +35,7 @@ margin: 0; padding: 14px; background: var(--card-bg, #fff); - color: var(--text-color, #333); + color: var(--text, #333); font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 14px; }