Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
fix(ide): draw light-pane terminal text heavier and darker
rubenluetke10-beep579ae1e1447a
diff --git a/jarvis/agentic_ide/terminal_input.py b/jarvis/agentic_ide/terminal_input.pyindex d1448018ab..dd43039ad6 100644--- a/jarvis/agentic_ide/terminal_input.py+++ b/jarvis/agentic_ide/terminal_input.py@@ -54,7 +54,7 @@ DEFAULT_APPEARANCE = "dark"#: (foreground, background) per appearance, mirroring ``terminalThemes.ts``.THEME_COLOURS: dict[str, tuple[str, str]] = {"dark": ("#f4f4f6", "#12141a"),- "light": ("#2b2b33", "#fcfbf8"),+ "light": ("#18181c", "#fcfbf8"),}#: What xterm answers a primary device-attributes query with: a VT100 with thediff --git a/jarvis/ui/web/frontend/src/components/agentic/terminalLightInk.ts b/jarvis/ui/web/frontend/src/components/agentic/terminalLightInk.tsindex ef7fcdf986..436e965e22 100644--- a/jarvis/ui/web/frontend/src/components/agentic/terminalLightInk.ts+++ b/jarvis/ui/web/frontend/src/components/agentic/terminalLightInk.ts@@ -115,8 +115,8 @@ export function lightInkFor(rgb: Rgb): Rgb {const mirrored = 1 - l;const next =s < NEUTRAL_SATURATION- ? clamp(mirrored, 0.13, 0.4)- : clamp(mirrored, 0.24, 0.38);+ ? clamp(mirrored, 0.1, 0.36)+ : clamp(mirrored, 0.22, 0.34);return toRgb(h, s, next);}diff --git a/jarvis/ui/web/frontend/src/components/agentic/terminalThemes.ts b/jarvis/ui/web/frontend/src/components/agentic/terminalThemes.tsindex ad013ab227..48ed99e190 100644--- a/jarvis/ui/web/frontend/src/components/agentic/terminalThemes.ts+++ b/jarvis/ui/web/frontend/src/components/agentic/terminalThemes.ts@@ -63,11 +63,11 @@ export const LIGHT_TERMINAL_THEME: ITheme = {// Alpha 0 = still transparent; the RGB is the light shell's paper tone so// the minimum-contrast maths measures against the ground actually shown.background: "rgba(252, 251, 248, 0)",- foreground: "#2b2b33",+ foreground: "#18181c",cursor: "#0a0a0a",cursorAccent: "#fcfbf8",selectionBackground: "#dedcd4",- selectionForeground: "#2b2b33",+ selectionForeground: "#18181c",// Cursor Light's terminal slots: the same semantic tones the app's light// tokens use (life #007041, fault #BE1744, degraded #A46700, link #0064B0).black: "#3a3a3a",diff --git a/jarvis/ui/web/frontend/src/lib/terminalFont.test.ts b/jarvis/ui/web/frontend/src/lib/terminalFont.test.tsindex 3c8480c840..4d57a1a163 100644--- a/jarvis/ui/web/frontend/src/lib/terminalFont.test.ts+++ b/jarvis/ui/web/frontend/src/lib/terminalFont.test.ts@@ -500,6 +500,7 @@ describe("warmTerminalFont", () => {const specs = load.mock.calls.map((call) => String((call as unknown[])[0]));expect(specs).toEqual([expect.stringMatching(/^500 15px "JetBrains Mono"$/),+ expect.stringMatching(/^600 15px "JetBrains Mono"$/),expect.stringMatching(/^700 15px "JetBrains Mono"$/),]);} finally {diff --git a/jarvis/ui/web/frontend/src/lib/terminalFont.ts b/jarvis/ui/web/frontend/src/lib/terminalFont.tsindex f896f1038a..b31ee8318f 100644--- a/jarvis/ui/web/frontend/src/lib/terminalFont.ts+++ b/jarvis/ui/web/frontend/src/lib/terminalFont.ts@@ -63,8 +63,30 @@ export const TERMINAL_FONT_WEIGHT = 500;/** The weight a TUI's bold spans draw with — still clearly above the body. */export const TERMINAL_FONT_WEIGHT_BOLD = 700;-/** The weights xterm paints with: body text, and the bold spans a TUI uses. */-const WEIGHTS = [TERMINAL_FONT_WEIGHT, TERMINAL_FONT_WEIGHT_BOLD] as const;+/**+ * The body weight on a LIGHT pane: SemiBold.+ *+ * Dark ink on paper reads thinner than the same glyph lit on black — light+ * text blooms into its surroundings, dark text is eaten by them — and the+ * greyscale WebGL pass makes it worse. On a 4K screen the Medium cut on paper+ * read as faint grey (maintainer, 2026-10-01), so a light pane draws one cut+ * heavier. The advance width is the same in every JetBrains Mono cut, so the+ * cell grid does not move.+ */+export const TERMINAL_FONT_WEIGHT_LIGHT = 600;++/** Body and bold weight for a pane's appearance. */+export function terminalFontWeights(appearance: "light" | "dark"): {+ body: number;+ bold: number;+} {+ return appearance === "light"+ ? { body: TERMINAL_FONT_WEIGHT_LIGHT, bold: TERMINAL_FONT_WEIGHT_BOLD }+ : { body: TERMINAL_FONT_WEIGHT, bold: TERMINAL_FONT_WEIGHT_BOLD };+}++/** The weights xterm paints with: body text per appearance, and bold spans. */+const WEIGHTS = [TERMINAL_FONT_WEIGHT, TERMINAL_FONT_WEIGHT_LIGHT, TERMINAL_FONT_WEIGHT_BOLD] as const;/** Measured over a run of glyphs so per-character rounding cannot dominate. */const SAMPLE = "W".repeat(32);