Skip to content

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.

fix(ide): brighten the dark terminal foreground and white slot

rubenluetke10-beep6b12749f838d
diff --git a/jarvis/agentic_ide/terminal_input.py b/jarvis/agentic_ide/terminal_input.py
index 062cee67cb..d1448018ab 100644
--- a/jarvis/agentic_ide/terminal_input.py
+++ b/jarvis/agentic_ide/terminal_input.py
@@ -53,7 +53,7 @@ DEFAULT_APPEARANCE = "dark"
#: (foreground, background) per appearance, mirroring ``terminalThemes.ts``.
THEME_COLOURS: dict[str, tuple[str, str]] = {
- "dark": ("#e8e8ec", "#12141a"),
+ "dark": ("#f4f4f6", "#12141a"),
"light": ("#2b2b33", "#fcfbf8"),
}
@@ -162,7 +162,7 @@ def classify_terminal_input(data: str, bracketed_paste_active: bool) -> tuple[bo
def _rgb(colour: str) -> str:
- """``#e8e8ec`` → ``rgb:e8e8/e8e8/ecec`` — the 16-bit form terminals use."""
+ """``#f4f4f6`` → ``rgb:f4f4/f4f4/f6f6`` — the 16-bit form terminals use."""
raw = colour.lstrip("#").lower()
return "rgb:" + "/".join(raw[i : i + 2] * 2 for i in (0, 2, 4))
diff --git a/jarvis/ui/web/frontend/src/components/agentic/terminalThemes.ts b/jarvis/ui/web/frontend/src/components/agentic/terminalThemes.ts
index 19d94a6ac9..def2fa71b7 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/terminalThemes.ts
+++ b/jarvis/ui/web/frontend/src/components/agentic/terminalThemes.ts
@@ -99,7 +99,7 @@ export const DARK_TERMINAL_THEME: ITheme = {
// #12141a at alpha 0 — the deep-slate ground the backend also reports to the
// CLI (jarvis/agentic_ide/terminal_input.py); see the light theme's note.
background: "rgba(18, 20, 26, 0)",
- foreground: "#e8e8ec",
+ foreground: "#f4f4f6",
cursor: "#ffffff",
cursorAccent: "#12141a",
selectionBackground: "#3a4252",
@@ -114,7 +114,7 @@ export const DARK_TERMINAL_THEME: ITheme = {
blue: "#81a1c1",
magenta: "#b48ead",
cyan: "#88c0d0",
- white: "#c8c8c8",
+ white: "#dcdcdc",
brightBlack: "#8a8a8a",
brightRed: "#ff8fa3",
brightGreen: "#70b489",
diff --git a/tests/unit/agentic_ide/test_terminal_input.py b/tests/unit/agentic_ide/test_terminal_input.py
index da86a5d1be..1fd6fba548 100644
--- a/tests/unit/agentic_ide/test_terminal_input.py
+++ b/tests/unit/agentic_ide/test_terminal_input.py
@@ -21,7 +21,7 @@ FG_QUERY = "\x1b]10;?\x1b\\"
BG_QUERY = "\x1b]11;?\x07"
#: The replies, as a browser's xterm would produce them a round trip later.
-REPORTS = "\x1b]10;rgb:e8e8/e8e8/ecec\x1b\\\x1b]11;rgb:1212/1414/1a1a\x1b\\\x1b[?1;2c"
+REPORTS = "\x1b]10;rgb:f4f4/f4f4/f6f6\x1b\\\x1b]11;rgb:1212/1414/1a1a\x1b\\\x1b[?1;2c"
def test_a_startup_query_is_answered_from_the_pty_side() -> None:
@@ -30,7 +30,7 @@ def test_a_startup_query_is_answered_from_the_pty_side() -> None:
replies = responder.feed(f"{DA_QUERY}{FG_QUERY}{BG_QUERY}")
assert replies == (
- f"{DEVICE_ATTRIBUTES}\x1b]10;rgb:e8e8/e8e8/ecec\x1b\\\x1b]11;rgb:1212/1414/1a1a\x07"
+ f"{DEVICE_ATTRIBUTES}\x1b]10;rgb:f4f4/f4f4/f6f6\x1b\\\x1b]11;rgb:1212/1414/1a1a\x07"
)