Dark Mode#7
Open
DanielKirshner wants to merge 2 commits into
Open
Conversation
…tem color overrides
eb844f7 to
7885e4b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #3
Description
This PR finalizes and enforces a complete, native-feeling Dark Mode across the application UI, resolving visual bugs, hardcoded contrast issues, and modernizing settings controls.
Key Changes
App.xaml.cs): Re-mapped baseSystemColors.*ColorKeyproperties directly to our dark palette hex codes. This safely bypasses native WPF/Aero themeControlTemplatewrappers, preventing glitches where screens or list boxes flash bright white when controls dynamically switch toIsEnabled="False"states (e.g. during program update scans).WindowUtilities.cs): Integrated native Win32DwmSetWindowAttributecalls to enforce native dark top title bars on Windows 10/11 windows.blackSolidColorBrushfor transparent masks on buttons and correcting static visibility masks for Custom UI controls). Completely overwroteListViewinternal templates inMainWindow.xamlto guarantee backgrounds respect dark themes rather than inheriting system defaults.: Built a brand newCustomToggleSwitchUI sliding-pill control. Replaced the standard Dark Mode layout checkbox on theSettingsWindow` to use this new control, wiring it up with an interactive "Requires Restart" popup notification.