Skip to content

System theme doesn't apply Ghostty transparency on load (v1.1.10) #8480

Closed

Description

@kynx-iv

Description

The system theme does not inherit/apply terminal transparency settings from Ghostty on startup. However, a custom theme with "background": { "dark": "none", "light": "none" } works correctly.

Environment

  • OpenCode version: 1.1.10
  • Terminal: Ghostty
  • OS: macOS (Darwin 25.2.0)

Ghostty config

background-opacity = 0.5
background-blur-radius = 20

OpenCode config

{
  "theme": "system",
  "$schema": "https://opencode.ai/config.json"
}

Steps to reproduce

  1. Configure Ghostty with background-opacity = 0.5
  2. Set OpenCode theme to "system" in ~/.config/opencode/opencode.json
  3. Set "theme": "system" in ~/.local/state/opencode/kv.json
  4. Launch opencode
  5. Observe: Background is opaque, not transparent

Expected behavior

The system theme should inherit Ghostty's transparency settings and display a transparent background.

Actual behavior

The background is opaque/solid black despite Ghostty having transparency configured.

Workaround

Using a custom theme with explicit "none" backgrounds works:

{
  "theme": {
    "background": { "light": "none", "dark": "none" },
    "backgroundPanel": { "light": "none", "dark": "none" },
    "backgroundElement": { "light": "none", "dark": "none" }
  }
}

Related issues

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 14, 2026
  2. github-actions commented on Jan 14, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  3. immortalt commented on Jan 16, 2026

    @immortalt

    I have the same question

  4. R44VC0RP commented on Feb 2, 2026

    @R44VC0RP
    Collaborator

    This has been fixed by PR #8467 which sets the system theme background to transparent (RGBA with alpha=0), allowing terminal transparency settings like Ghostty's background-opacity to show through.

    The fix is now merged into dev. Make sure you have "theme": "system" set in your config to see the transparency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

opentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions