Repository navigation
Store separate dark-mode intensity and color on Windows - #17
Merged
Merged
Conversation
First step of light and dark mode settings on Windows, matching the macOS app. The settings gain a switch, a dark-mode intensity and a dark-mode color, with the same defaults as macOS (off, 45%, black). They are read from and saved to settings.txt but nothing uses them yet, so behavior is unchanged.
This was referenced Nov 13, 2026
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.
What
First of five steps toward separate light and dark mode settings on Windows, which macOS already has.
HazeSettingsgainsSeparateAppearance,IntensityDarkandHazeColorDark, with the macOS defaults (off, 45%, black), read from and saved to%APPDATA%\OpenHaze\settings.txt.Nothing uses the new values yet, so behavior is unchanged. Next: follow Windows' light/dark mode in the dimming code, then the Settings window controls, then the docs.
Why
Light and Dark appearance settings are listed in the README as a macOS-only extra. Building it one self-contained step at a time keeps
mainworking throughout.How it was tested
windows/test.batpasses.