Commit f0ce64e2 authored by Philipp's avatar Philipp Committed by Christian Duerr

Opt-in to macOS Mojave Dark Mode

macOS 10.14 will bring a new system wide dark mode. To enable this, the
[official guides][] suggest to relink using the newest OS. This
approach, however, did not work for me as described in [an issue][] in
the glutin repository.

As a second option, the accompanying `Info.plist` file can also
overwrite the link-time check and enable dark mode rendering if the
system config is set by setting `NSRequiresAquaSystemAppearance` to
`YES`. This approach seems to work flawlessly no matter if a user opts
into dark mode or not.

I would appreciate it if someone can test this on macOS 10.13 as well,
but I suppose the key there is unused and would not break anything.

[official guides]:
[an issue]:
parent 05d40a8a
......@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](
### Added
- Add support for macOS systemwide dark mode
- Set the environment variable `COLORTERM="truecolor"` to advertise 24-bit color support
### Changed
......@@ -32,5 +32,7 @@
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment