Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix(theme): register --color-port-on-* in @theme so text-port-on-accent works

[._.]/ Adam Eivyb4e1224fcda3
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index 386b15f5ce..6513d92c19 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -1349,6 +1349,17 @@
## Fixed
+- **Black ICE Terminal: active day/night toggle no longer renders a white moon
+ on bright green.** The settings theme picker uses `bg-port-accent
+ text-port-on-accent` to flag the active mode, but `--color-port-on-accent`
+ was never registered in Tailwind's `@theme` block — so `text-port-on-accent`
+ was a no-op and the icon inherited the body's near-white `--port-text`
+ (218 255 238 in Black ICE Terminal) against the bright `#00f5a0` background,
+ ~1.5 contrast. Added `--color-port-on-{accent,success,warning,error}` so
+ every theme's defined on-* tokens map to Tailwind utilities, restoring the
+ intended dark forest text. Same gap also covered the `bg-port-accent
+ text-port-on-accent` button in `ErrorBoundary.jsx`. Touches `client/src/index.css`.
+
- **Flaky death-clock test passes again.** `computeDeathClock` healthy-years
test in `server/services/meatspace.test.js` derived its expected value from
`result.yearsRemaining` (rounded to 2dp by the service) but compared
diff --git a/client/src/index.css b/client/src/index.css
index 6800a8cb49..fa8cb0d5a9 100644
--- a/client/src/index.css
+++ b/client/src/index.css
@@ -10,6 +10,10 @@
--color-port-error: rgb(var(--port-error));
--color-port-text: rgb(var(--port-text));
--color-port-text-muted: rgb(var(--port-text-muted));
+ --color-port-on-accent: rgb(var(--port-on-accent));
+ --color-port-on-success: rgb(var(--port-on-success));
+ --color-port-on-warning: rgb(var(--port-on-warning));
+ --color-port-on-error: rgb(var(--port-on-error));
--animate-scanline: scanline 5s linear infinite;
}