MacOS – How to force Xcode(or any other app) to be on dark theme while macOS Mojave’s setting is on light mode

macosmojavexcode

I love Xcode 10 dark theme, but I'd like to keep the whole OS on light theme. But by default to have Xcode on Dark theme you have to set the whole OS to Dark.

How can I achieve this?

Best Answer

Open Terminal and run the following:

defaults write com.apple.dt.Xcode NSRequiresAquaSystemAppearance -bool FALSE

source: https://medium.com/@pawelurbanowicz/boost-your-productivity-with-macos-mojave-enable-dark-mode-for-xcode-only-33d86e452ea9