-
Notifications
You must be signed in to change notification settings - Fork 496
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configuration option to set theme to light/dark/auto (#1917)
* Create `--theme` command-line option * Set background according to theme option * Handle winit ThemeChanged events * Config option "theme" * Documentation * Call `.as_str()` for consistency * Clean up * Make `--theme` truly optional * `required` is not required Co-authored-by: multisn8 <contact@multisamplednight.com> * Remove unnecessary & Co-authored-by: multisn8 <contact@multisamplednight.com> * Intermediate variable for match * Use a setting instead of a command-line option * Remove debugging println! * Add note clarifying theme not being released yet --------- Co-authored-by: multisn8 <contact@multisamplednight.com>
- Loading branch information
1 parent
b4161a5
commit bc94189
Showing
5 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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