Aldaviva / DarkNet

🌓 Enable native Windows dark mode for your WPF and Windows Forms title bars.
https://www.nuget.org/packages/DarkNet/
Apache License 2.0
66 stars 2 forks source link

How to make the the title bar not too dark #1

Closed Specifix5 closed 1 year ago

Specifix5 commented 3 years ago

So instead of 0,0,0 i want it to be something like 20,20,20 argb, any way to do this?

Specifix5 commented 3 years ago

image I want it to give a feeling so it matches with the color scheme

Aldaviva commented 3 years ago

Hello @Specifix5, great question.

Specifix5 commented 3 years ago

Alright, thanks for the advice. I'm gonna look forward to that.

Mgamerz commented 1 year ago

Are there any updates on the colors by any chance?

Aldaviva commented 1 year ago

Thanks for the reminder, let me see if I can figure out how to do this.

Aldaviva commented 1 year ago

Seems to work so far.

image

Aldaviva commented 1 year ago

You can try out DarkNet.zip\DarkNet.2.3.0.nupkg\lib\*\DarkNet.dll from CI build 25. The documentation has been updated too.

Added optional ThemeOptions parameter to methods:

DarkNet.Instance.SetWindowThemeWpf(this, Theme.Dark, new ThemeOptions {
    TitleBarTextColor       = Color.MidnightBlue,
    TitleBarBackgroundColor = Color.PowderBlue,
    WindowBorderColor       = Color.DarkBlue
});
Aldaviva commented 1 year ago

At long last, Windows 11 gives us the tools to more faithfully recreate Windows 3.1's Hotdog Stand color scheme.

image

Windows 3.1 Hotdog Stand scheme

Aldaviva commented 1 year ago

Now we're gaming.

https://github.com/Aldaviva/DarkNet/assets/1417794/0192a3e4-8e94-4578-8061-5f659f91c2de