Skip to content

Flash of white content on start #11852

Closed
Closed

Description

@dcog989

Description

Using Windows Dark Mode, I am seeing a flash of blinding white content when starting the desktop app.

https://github.com/anomalyco/opencode/blob/dev/packages/desktop/index.html needs something like:

        <style>
            html,
            body {
                height: 100%;
                margin: 0;
                overflow: hidden;
                background-color: #1e1e1e;
            }
            @media (prefers-color-scheme: light) {
                html,
                body {
                    background-color: #f9fafb;
                }
            }
        </style>

Activity

  1. github-actions commented on Feb 2, 2026

    @github-actions
    Contributor

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

    Feel free to ignore if your specific case with Windows Dark Mode color scheme flashing is distinct from these issues.

  2. github-actions commented on Apr 4, 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 workingwebRelates to opencode on web / desktopwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions