mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-31 06:42:03 +00:00
fix: add missing red terminal theme and fix split panel type
- 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 <noreply@anthropic.com>
This commit is contained in:
@@ -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<ThemeMode, TerminalTheme> = {
|
||||
light: lightTheme,
|
||||
@@ -346,6 +371,7 @@ const terminalThemes: Record<ThemeMode, TerminalTheme> = {
|
||||
catppuccin: catppuccinTheme,
|
||||
onedark: onedarkTheme,
|
||||
synthwave: synthwaveTheme,
|
||||
red: redTheme,
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user