From 951010b64d7a7424fc60cbff7744f5f3cbe3316f Mon Sep 17 00:00:00 2001 From: SuperComboGamer Date: Sat, 13 Dec 2025 01:47:49 -0500 Subject: [PATCH] fix: add missing red terminal theme and fix split panel type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add red terminal theme with dark red-accented color scheme - Add size property to split type in TerminalPanelContent to support nested splits with size tracking 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- apps/app/src/config/terminal-themes.ts | 26 ++++++++++++++++++++++++++ apps/app/src/store/app-store.ts | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/apps/app/src/config/terminal-themes.ts b/apps/app/src/config/terminal-themes.ts index eb85a203..8cef0d77 100644 --- a/apps/app/src/config/terminal-themes.ts +++ b/apps/app/src/config/terminal-themes.ts @@ -331,6 +331,31 @@ const synthwaveTheme: TerminalTheme = { brightWhite: "#ffffff", }; +// Red theme - Dark theme with red accents +const redTheme: TerminalTheme = { + background: "#1a0a0a", + foreground: "#e0d0d0", + cursor: "#ff4444", + cursorAccent: "#1a0a0a", + selectionBackground: "#5a2020", + black: "#2a1010", + red: "#ff4444", + green: "#88cc88", + yellow: "#ffcc66", + blue: "#7799cc", + magenta: "#cc6699", + cyan: "#66aaaa", + white: "#e0d0d0", + brightBlack: "#6a4040", + brightRed: "#ff6666", + brightGreen: "#aaddaa", + brightYellow: "#ffdd88", + brightBlue: "#99bbdd", + brightMagenta: "#dd88bb", + brightCyan: "#88cccc", + brightWhite: "#fff0f0", +}; + // Theme mapping const terminalThemes: Record = { light: lightTheme, @@ -346,6 +371,7 @@ const terminalThemes: Record = { catppuccin: catppuccinTheme, onedark: onedarkTheme, synthwave: synthwaveTheme, + red: redTheme, }; /** diff --git a/apps/app/src/store/app-store.ts b/apps/app/src/store/app-store.ts index 409d001b..58079315 100644 --- a/apps/app/src/store/app-store.ts +++ b/apps/app/src/store/app-store.ts @@ -315,7 +315,7 @@ export interface ProjectAnalysis { // Terminal panel layout types (recursive for splits) export type TerminalPanelContent = | { type: "terminal"; sessionId: string; size?: number; fontSize?: number } - | { type: "split"; direction: "horizontal" | "vertical"; panels: TerminalPanelContent[] }; + | { type: "split"; direction: "horizontal" | "vertical"; panels: TerminalPanelContent[]; size?: number }; // Terminal tab - each tab has its own layout export interface TerminalTab {