How to enable Mojave dark mode for applications that don’t support it.
Right now applications like VS Code and Hyper.js don’t use the new Mojave dark mode. For these specific applications, since they are already dark, manually setting them to use the dark mode makes them looks better. It removes that little gray line on the top of the window and makes context menus use the dark theme. See a comparison below.
To enable an application to use dark mode:
1. Go to your **Applications** folder in **Finder**.
2. Right click the specific application you want to enable, **Show Package Contents**.
3. Go into the **Content** folder and open up **Info.plist** in a text editor.
4. Look for `<key>CFBundleIdentifier</key>` and right below that will be the string we’re looking for. In the case of VS Code, it is `<string>com.microsoft.VSCode</string>`.
5. Copy just the string, for example `com.microsoft.VSCode`.
6. Open up your terminal and enter `defaults write com.microsoft.VSCode NSRequiresAquaSystemAppearance 0`. Make sure to replace the string in the command with whatever application your setting.
7. Relaunch the application (if it was open, fully quit it) and it should now be using dark mode! To revert back, just use `1` on the end of the command we entered before. So for example, `defaults write com.microsoft.VSCode NSRequiresAquaSystemAppearance 0`.