Skip to content

Better Dark Mode #91

@GabrielFrigo4

Description

@GabrielFrigo4
Is your feature request related to a problem? Please describe

The proposal is simple, improve Dark Mode.
For example, the fact that on Windows LibreSprite's Dark Mode does not change the color of the TitleBar is something that frustrates me

Describe the solution you'd like

For me, implementing this would be enough.

Since you are using SDL and not WinAPI to program windows (a pretty obvious choice since this project is not focused on Windows), the DwmSetWindowAttribute function will only work with the window handler. In other words, if you get the window handler using specific SDL functions, you can change the color of the Title Bar. You can also see what the system Color Mode is using the ShouldAppsUseDarkMode and ShouldSystemUseDarkMode functions.

Describe alternatives you've considered

I've already used the method of changing the color of the system's Title Bars, but it's not very cool or interesting as a solution... (but yes, it works)

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions