We've made a WPF application with a traditional UI (common controls like tabs, buttons, labels, textboxes, and so on).
We need to add a "night vision" mode, which would make it look like Stellarium's night vision mode, so that it can be comfortably used in places with few or just no light at all.
As far as I've seen, we only have two options:
The questions are:
Thank you very much!
One suggestion is of course Mahapps
Themes.
You could switch between Light and Dark by this :
// get the theme from the current application
var theme = ThemeManager.DetectAppStyle(Application.Current);
// now set the Green accent and dark theme
ThemeManager.ChangeAppStyle(Application.Current,
ThemeManager.GetAccent("Green"),
ThemeManager.GetAppTheme("BaseDark"));
( Mahapps.Styles for ref )
Or you could use DynamicResource for each Brushes and change the SINGLE ResourceDictionary
holding them to change everything in a click :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With