Run Xcode in Dark Mode With macOS Mojave in Light Mode

This trick was posted by Stephen Radford (via Steven Troughton-Smith) a few days ago and since it’s going to be a while before I upgrade to Mojave, I need to record this for posterity…

Recipe

Run Terminal and run the following command…

defaults write http://com.apple.dt.Xcode NSWindowDarkChocolate -bool true.

You can revert to the default behaviour by replacing true with false.