diff --git a/client/src/components/lanes/LaneChangesPanel.tsx b/client/src/components/lanes/LaneChangesPanel.tsx index 032d1638..9e4c495f 100644 --- a/client/src/components/lanes/LaneChangesPanel.tsx +++ b/client/src/components/lanes/LaneChangesPanel.tsx @@ -984,7 +984,7 @@ export function LaneChangesPanel({
{/* Pinned: the finder is what you reach for after scrolling a long tree, not only from its top. */} -
+
setQuery(e.target.value)} @@ -1320,7 +1320,7 @@ export function LaneChangesPanel({ {(stagedCount > 0 || toStage.length > 0) && (
{/* ONE row: message, commit, then the two bulk index moves. */} {stagedCount > 0 && ( diff --git a/client/src/components/lanes/LaneGitHeader.tsx b/client/src/components/lanes/LaneGitHeader.tsx index 4d133a70..3543ee9e 100644 --- a/client/src/components/lanes/LaneGitHeader.tsx +++ b/client/src/components/lanes/LaneGitHeader.tsx @@ -276,10 +276,7 @@ export function LaneGitHeader({ ); return ( -
+
-
+
= { describe("buildTerminalTheme", () => { it("maps theme tokens onto the xterm palette", () => { const t = buildTerminalTheme((n) => vars[n] ?? ""); - // The card's colour, so the terminal blends into the card it sits on. - expect(t.background).toBe("#272a2d"); - expect(t.cursorAccent).toBe("#272a2d"); + // The page's colour: the console sits on the page, with no card or frame. + expect(t.background).toBe("#111113"); + expect(t.cursorAccent).toBe("#111113"); expect(t.foreground).toBe("#edeef0"); expect(t.cursor).toBe("#edeef0"); expect(t.selectionBackground).toBe("#43484e"); @@ -60,7 +60,7 @@ describe("buildTerminalTheme", () => { describe("terminalThemeFor", () => { it("resolves variables on a dark probe scoped to the theme id, then removes it", () => { const style = document.createElement("style"); - style.textContent = `.dark { --surface-3: 1 2 3; } .dark[data-theme="darcula"] { --surface-3: 30 31 32; }`; + style.textContent = `.dark { --surface-0: 1 2 3; } .dark[data-theme="darcula"] { --surface-0: 30 31 32; }`; document.head.appendChild(style); try { expect(terminalThemeFor("default").background).toBe("#010203"); diff --git a/client/src/lib/terminalTheme.ts b/client/src/lib/terminalTheme.ts index 2ac26284..8a6935ad 100644 --- a/client/src/lib/terminalTheme.ts +++ b/client/src/lib/terminalTheme.ts @@ -54,11 +54,11 @@ export function buildTerminalTheme(read: VarReader): ITheme { const magenta = "#c678dd"; const cyan = "#56b6c2"; return { - // The `.card` colour: the console sits on a card, with no frame between. - background: v("--surface-3"), + // The page's colour: the console sits on the page, with no card or frame. + background: v("--surface-0"), foreground: v("--fg-primary"), cursor: v("--fg-primary"), - cursorAccent: v("--surface-3"), + cursorAccent: v("--surface-0"), selectionBackground: v("--border-light"), black: v("--border-light"), red, diff --git a/client/src/pages/Workspace.tsx b/client/src/pages/Workspace.tsx index d05abcb5..63019989 100644 --- a/client/src/pages/Workspace.tsx +++ b/client/src/pages/Workspace.tsx @@ -621,7 +621,7 @@ export function Workspace() {
@@ -795,7 +795,9 @@ export function Workspace() {