Greetings.
While perusing Apple's documentation regarding the implementation of dark mode within existing applications, I have made something of a discovery.
If an application has been built using the most recent SDK (as recent builds should be), it is possible to force said application to use Mojave's dark theme. This is accomplished by modifying the application's Info.plist and adding the following key and string.
It should be noted that this modification will cause applications which enforce code signing to crash upon launch. Deleting the _CodeSignature folder within Contents should solve the problem.
I have primarily been using this finding to change the titlebar color of applications which already feature dark themes but it should fully apply Apple's dark theme to any application built using the default system color scheme.
Here is an example of DaVinci Resolve, before and after the modification.
Before:
After:
Another example, using the IINA media player.
Before:
After:
I hope somebody finds this information helpful and thank you for reading!
- Troy (Reddit: Haru-tan)
EDIT: It would appear that I am not the first person to make this discovery. Steve Troughton-Smith's blog explores the dark theme in greater detail.
While perusing Apple's documentation regarding the implementation of dark mode within existing applications, I have made something of a discovery.
If an application has been built using the most recent SDK (as recent builds should be), it is possible to force said application to use Mojave's dark theme. This is accomplished by modifying the application's Info.plist and adding the following key and string.
Code:
<key>NSRequiresAquaSystemAppearance</key>
<string>False</string>
It should be noted that this modification will cause applications which enforce code signing to crash upon launch. Deleting the _CodeSignature folder within Contents should solve the problem.
I have primarily been using this finding to change the titlebar color of applications which already feature dark themes but it should fully apply Apple's dark theme to any application built using the default system color scheme.
Here is an example of DaVinci Resolve, before and after the modification.
Before:
After:
Another example, using the IINA media player.
Before:
After:
I hope somebody finds this information helpful and thank you for reading!
- Troy (Reddit: Haru-tan)
EDIT: It would appear that I am not the first person to make this discovery. Steve Troughton-Smith's blog explores the dark theme in greater detail.
Last edited: