Skip to content

Dark mode support in WinForms backend #4561

Description

@johnzhou721

What is the problem or limitation you are having?

With #4331 landed, we can now use .NET Core 10, which has full support for dark mode.

Describe the solution you'd like

Work out the necessary API(s) to enable Dark Mode on .NET Core 10 applications, and audit all widgets' use of color to make sure they support dark mode properly. (Tree widgets currently always paint expanasion arrows in black and thus cannot be seen easily in dark mode).

Describe alternatives you've considered

Status quo; light mode on WinForms is actually pretty.

Additional context

The call seems to be Application.SetColorMode(SystemColorMode.System) at application startup.

https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.application.setcolormode?view=windowsdesktop-10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew features, or improvements to existing features.

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions