Changesets · Branches · Tags · Compare
| Changeset | 0edd3d43967bde8499bb4ed416360490a9a41b209760baed1accf47439203c88 |
|---|---|
| Author | chezsmithy <chezsmithy@me.com> · 2025-08-27 14:26 -07:00 |
| Committer | chezsmithy <chezsmithy@me.com> · 2025-08-27 14:26 -07:00 |
| Parents | cf44248155ac |
3 files changed
modified gui/src/components/UnifiedTerminal/UnifiedTerminal.tsx +24 −14
| @@ -65,7 +65,17 @@ | ||
| 65 | 65 | fontSize?: number; |
| 66 | 66 | }>` |
| 67 | 67 | background-color: var(--background); |
| 68 | - font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; | |
| 68 | + font-family: | |
| 69 | + ui-sans-serif, | |
| 70 | + system-ui, | |
| 71 | + -apple-system, | |
| 72 | + BlinkMacSystemFont, | |
| 73 | + "Segoe UI", | |
| 74 | + Roboto, | |
| 75 | + "Helvetica Neue", | |
| 76 | + Arial, | |
| 77 | + "Noto Sans", | |
| 78 | + sans-serif; | |
| 69 | 79 | font-size: ${(props) => props.fontSize || getFontSize()}px; |
| 70 | 80 | color: var(--foreground); |
| 71 | 81 | line-height: 1.5; |
| @@ -93,11 +103,15 @@ | ||
| 93 | 103 | border-radius: 0.5rem; |
| 94 | 104 | background-color: var(--editor-background); |
| 95 | 105 | font-size: ${getFontSize() - 2}px; |
| 96 | - font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace; | |
| 106 | + font-family: | |
| 107 | + ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", | |
| 108 | + Menlo, monospace; | |
| 97 | 109 | } |
| 98 | 110 | |
| 99 | 111 | code:not(pre > code) { |
| 100 | - font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace; | |
| 112 | + font-family: | |
| 113 | + ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", | |
| 114 | + Menlo, monospace; | |
| 101 | 115 | color: var(--input-placeholder); |
| 102 | 116 | } |
| 103 | 117 | `; |
| @@ -404,10 +418,7 @@ | ||
| 404 | 418 | }, [command, output, hasOutput]); |
| 405 | 419 | |
| 406 | 420 | return ( |
| 407 | - <StyledTerminalContainer | |
| 408 | - fontSize={getFontSize()} | |
| 409 | - className="mb-4" | |
| 410 | - > | |
| 421 | + <StyledTerminalContainer fontSize={getFontSize()} className="mb-4"> | |
| 411 | 422 | <div className="outline-command-border -outline-offset-0.5 rounded-default bg-editor !my-2 flex min-w-0 flex-col outline outline-1"> |
| 412 | 423 | {/* Toolbar */} |
| 413 | 424 | <div |
| @@ -444,11 +455,7 @@ | ||
| 444 | 455 | <pre className="bg-editor"> |
| 445 | 456 | <code> |
| 446 | 457 | {/* Command is always visible */} |
| 447 | - <div | |
| 448 | - className="pb-2 text-terminal" | |
| 449 | - > | |
| 450 | - $ {command} | |
| 451 | - </div> | |
| 458 | + <div className="text-terminal pb-2">$ {command}</div> | |
| 452 | 459 | |
| 453 | 460 | {/* Running state with cursor */} |
| 454 | 461 | {isRunning && !hasOutput && ( |
| @@ -498,9 +505,12 @@ | ||
| 498 | 505 | |
| 499 | 506 | {/* Status information */} |
| 500 | 507 | {(statusMessage || isRunning) && ( |
| 501 | - <div | |
| 508 | + <div | |
| 502 | 509 | className="text-description flex items-center px-2 pb-2 pt-2 text-xs" |
| 503 | - style={{ borderTop: '1px solid var(--vscode-commandCenter-inactiveBorder, #555555)' }} | |
| 510 | + style={{ | |
| 511 | + borderTop: | |
| 512 | + "1px solid var(--vscode-commandCenter-inactiveBorder, #555555)", | |
| 513 | + }} | |
| 504 | 514 | > |
| 505 | 515 | <StatusIcon status={statusType} /> |
| 506 | 516 | {isRunning ? "Running" : statusMessage} |
modified gui/src/styles/theme.ts +4 −0
| @@ -140,6 +140,10 @@ | ||
| 140 | 140 | vars: ["--vscode-textLink-foreground"], |
| 141 | 141 | default: "#5c9ce6", // medium blue |
| 142 | 142 | }, |
| 143 | + terminal: { | |
| 144 | + vars: ["--vscode-terminal-ansiGreen"], | |
| 145 | + default: "#0dbc79", // green | |
| 146 | + }, | |
| 143 | 147 | textCodeBlockBackground: { |
| 144 | 148 | vars: ["--vscode-textCodeBlock-background"], |
| 145 | 149 | default: "#1e1e1e", // same as editor-background |
modified gui/tailwind.config.cjs +1 −0
| @@ -86,6 +86,7 @@ | ||
| 86 | 86 | error: varWithFallback("error"), |
| 87 | 87 | link: varWithFallback("link"), |
| 88 | 88 | accent: varWithFallback("accent"), |
| 89 | + terminal: varWithFallback("terminal"), | |
| 89 | 90 | findMatch: { |
| 90 | 91 | DEFAULT: THEME_COLORS["find-match"].default, |
| 91 | 92 | selected: varWithFallback("find-match-selected"), |