From bbd71c4975d713f4ce2e719f07fe4e7d68048ffb Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 7 Apr 2021 22:19:42 +0200 Subject: [PATCH] Support macOS dark mode for UI Fixes #4430 Thanks to ftpd for testing! --- doc/changelog.asciidoc | 2 ++ scripts/dev/build_release.py | 1 + 2 files changed, 3 insertions(+) diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc index dd1e7b86f..43ae8277d 100644 --- a/doc/changelog.asciidoc +++ b/doc/changelog.asciidoc @@ -125,6 +125,8 @@ Fixed certain workarounds) now works correctly on OpenBSD. - Certain version number formats in `/etc/os-release` caused qutebrowser to crash. Those are now handled correctly. +- The macOS releases now properly support Dark Mode for UI elements by setting + `NSRequiresAquaSystemAppearance` to false. Removed ~~~~~~~ diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py index 959683b10..f53656695 100755 --- a/scripts/dev/build_release.py +++ b/scripts/dev/build_release.py @@ -260,6 +260,7 @@ INFO_PLIST_UPDATES = { 'CFBundleShortVersionString': qutebrowser.__version__, 'NSSupportsAutomaticGraphicsSwitching': True, 'NSHighResolutionCapable': True, + 'NSRequiresAquaSystemAppearance': False, 'CFBundleURLTypes': [{ "CFBundleURLName": "http(s) URL", "CFBundleURLSchemes": ["http", "https"]