Describe the project you are working on:
Any
Describe the problem or limitation you are having in your project:
When OS-wide dark mode is enabled on Windows, Godot still has a white title bar.

Describe the feature / enhancement and how it helps to overcome the problem or limitation:
Instead, it should follow the same color scheme and have a dark color.
(A similar issue was raised and fixed on MacOS: godotengine/godot#27264)
Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams:
I'm no expert in that OS-specific part, but I suppose it should be relatively simple to do?
The color to pick could come from the editor theme, or from the OS if there is an API to obtain it.
If this enhancement will not be used often, can it be worked around with a few lines of script?:
It's OS-specific and there is nothing exposed to do this from a script AFAIK, it would be very inconvenient to do that with an addon anyways.
Is there a reason why this should be core and not an add-on in the asset library?:
It relates to the core windowing system, used for games, editor and project manager.
Describe the project you are working on:
Any
Describe the problem or limitation you are having in your project:

When OS-wide dark mode is enabled on Windows, Godot still has a white title bar.
Describe the feature / enhancement and how it helps to overcome the problem or limitation:
Instead, it should follow the same color scheme and have a dark color.
(A similar issue was raised and fixed on MacOS: godotengine/godot#27264)
Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams:
I'm no expert in that OS-specific part,
but I suppose it should be relatively simple to do?The color to pick could come from the editor theme, or from the OS if there is an API to obtain it.
If this enhancement will not be used often, can it be worked around with a few lines of script?:
It's OS-specific and there is nothing exposed to do this from a script AFAIK, it would be very inconvenient to do that with an addon anyways.
Is there a reason why this should be core and not an add-on in the asset library?:
It relates to the core windowing system, used for games, editor and project manager.