From 8170fa0aa5b2915e39c8be1bcfd473f5172c6121 Mon Sep 17 00:00:00 2001 From: gbanyan Date: Fri, 13 Feb 2026 23:48:28 +0800 Subject: [PATCH] style: terminal adapts to light/dark mode - Light: slate-100 bg, slate-300 border, emerald-600 accent - Dark: slate-900 bg, slate-700 border, emerald-400 accent Co-authored-by: Cursor --- components/terminal-window.tsx | 36 +++++++++++++++++----------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/components/terminal-window.tsx b/components/terminal-window.tsx index dfb18ce..f24f81b 100644 --- a/components/terminal-window.tsx +++ b/components/terminal-window.tsx @@ -145,78 +145,78 @@ export function TerminalWindow({ return (
{/* macOS-style title bar */} -
+
- + gbanyan@blog — zsh
{/* Terminal content */}
-
- ~ +
+ ~ $ {displayedPrompt} {phase === 'prompt' && showCursor && ( - + )}
{displayedLine1 && ( -
+
{displayedLine1} {phase === 'typing-line1' && showCursor && ( - + )}
)} {displayedLine2 && ( -
+
{displayedLine2} {phase === 'typing-line2' && showCursor && ( - + )}
)} {(phase === 'prompt2' || phase === 'typing-ascii' || displayedPrompt2 || displayedAscii.length > 0) && ( -
- ~ +
+ ~ $ {displayedPrompt2} {phase === 'prompt2' && showCursor && ( - + )}
)} {displayedAscii.length > 0 && ( -
+
{displayedAscii.map((line, i) => (
{line}
))} {phase === 'typing-ascii' && showCursor && ( - + )}
)} {phase === 'done' && ( -
- ~ +
+ ~ $ - +
)}