feat: enable dark mode support by default on macOS (#19226)

This adds the NSRequiresAquaSystemAppearance key to our default Info.plist file which will tell macOS to auto-switch our effectiveAppearance in sync with the OS.  The dark mode documentation has been updated to reflect how to opt *out* of this but it is also noted that certain dark mode APIs will not work on Catalina if you opt out.
This commit is contained in:
Samuel Attard 2019-07-15 01:23:12 -07:00 committed by Cheng Zhao
parent ab8b940151
commit 4d8a05568b
3 changed files with 12 additions and 24 deletions

View file

@ -30,5 +30,7 @@
<true/>
<key>NSHighResolutionCapable</key>
<true/>
<key>NSRequiresAquaSystemAppearance</key>
<false/>
</dict>
</plist>