Skip to content

The open source coding agent.

TypeScript

Reapply "fix: system theme background to use 'none' for terminal transparency" (#4415)

Aiden Cline7f0b2ce1ac64
diff --git a/packages/opencode/src/cli/cmd/tui/context/theme.tsx b/packages/opencode/src/cli/cmd/tui/context/theme.tsx
index a4a4d876e2b..0cd9ec70245 100644
--- a/packages/opencode/src/cli/cmd/tui/context/theme.tsx
+++ b/packages/opencode/src/cli/cmd/tui/context/theme.tsx
@@ -278,8 +278,8 @@ function generateSystem(colors: TerminalColors, mode: "dark" | "light"): ThemeJs
text: fg,
textMuted,
- // Background colors
- background: bg,
+ // Background colors - use 'none' to inherit terminal defaults and transparency
+ background: "none",
backgroundPanel: grays[2],
backgroundElement: grays[3],