Skip to content

Use dark mode theme when launching from NeoVim's terminal with light mode #11151

Closed

Description

@tamlok

Description

  1. Windows Terminal is configured to use light mode theme.
  2. Running opencode directly in Windows Terminal results in the usage of light mode theme in opencode.
  3. Neovim forces to use light background.
  4. Runs opencode in Neovim terminal, resultings in the usgae of dark mode theme in opencode.

Could we add an option to force using of the light mode of theme? Just like Neovim setting background to light or dark.

Plugins

No response

OpenCode version

1.1.25

Steps to reproduce

  1. Windows Terminal with light theme
  2. Neovim with light mode.
  3. Run opencode within the terminal of Neovim.

Screenshot and/or share link

Image

Operating System

Windows 11

Terminal

Windows Terminal

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 29, 2026
  2. github-actions commented on Jan 29, 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. tamlok commented on Jan 29, 2026

    @tamlok
    Author

    No, they are not the same. If auto-detection is lacked or not working well, we need a way to specify it manually.

  4. github-actions commented on Mar 31, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions