From aaabb8a373b43ad0b40216b4b7ece95ef631990a Mon Sep 17 00:00:00 2001 From: "Gan, Jimmy" Date: Fri, 6 Mar 2026 10:51:53 +0800 Subject: [PATCH] fix: sync terminal page with dashboard theme Make terminal tabs, controls, and xterm colors follow the global light/dark theme so terminal UI stays visually consistent with the rest of the dashboard. Co-Authored-By: Claude Opus 4.6 (1M context) --- dashboard/frontend/src/routes/Terminal.svelte | 118 ++++++++++++------ 1 file changed, 78 insertions(+), 40 deletions(-) diff --git a/dashboard/frontend/src/routes/Terminal.svelte b/dashboard/frontend/src/routes/Terminal.svelte index 7ce5211..54b3722 100644 --- a/dashboard/frontend/src/routes/Terminal.svelte +++ b/dashboard/frontend/src/routes/Terminal.svelte @@ -1,5 +1,5 @@
{#if !activeVoice()?.voiceMode} -

Terminal

+

Terminal

{/if} -
+
{#each tabs as tab (tab.id)} {#if showMenu} -
+
{#each hosts as h} {/each} @@ -240,7 +278,7 @@ {@const v = activeVoice()}
-

- Tip: drag & drop or paste images into the active terminal tab to upload them to /tmp/claude-images. +

+ Tip: drag & drop or paste images into the active terminal tab to upload them to /tmp/claude-images.

{#if !tabs.length} -
+
Click + to open a terminal
{/if} @@ -265,21 +303,21 @@
{/each} {#if activeVoice()?.voiceMode} {@const v = activeVoice()} -
+
-
- Voice Mode +
+ Voice Mode
{:else} -
+
{/if}
{#if v.transcript} -

"{v.transcript}"

+

"{v.transcript}"

{:else} -

{v.speaking ? 'Speaking...' : v.listening ? 'Listening...' : 'Ready'}

+

{v.speaking ? 'Speaking...' : v.listening ? 'Listening...' : 'Ready'}

{/if}