diff --git a/canvas/src/components/tabs/TerminalTab.tsx b/canvas/src/components/tabs/TerminalTab.tsx index 835cface..1c2c2027 100644 --- a/canvas/src/components/tabs/TerminalTab.tsx +++ b/canvas/src/components/tabs/TerminalTab.tsx @@ -123,15 +123,18 @@ export function TerminalTab({ workspaceId }: Props) { return (
- {/* Status bar — role="status" so connection state changes are announced politely */} + {/* Status bar — role="status" so connection state changes are announced politely. + Terminal body stays dark unconditionally (Canvas v4 design rule), but the + chrome wrapping it now uses semantic status colors so the dot/text stay + readable in both themes. */}
- + {status === "connected" ? "Shell active" : status === "connecting" ? "Connecting..." : status === "error" ? "Connection failed" : "Disconnected"} @@ -139,8 +142,13 @@ export function TerminalTab({ workspaceId }: Props) {
{(status === "disconnected" || status === "error") && ( @@ -149,7 +157,7 @@ export function TerminalTab({ workspaceId }: Props) { {/* Error message — role="alert" announces immediately via assertive live region */} {errorMsg && ( -
+
{errorMsg}
)}