Skip to content

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

Closed as not planned

Description

@teracrafts

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. teracrafts commented on Jan 14, 2026

    @teracrafts
    Author

    Created with wrong account, will recreate

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