Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable Dark Mode for Xcode [duplicate]

Apple announced a new Dark Mode for Xcode 10. I've downloaded the beta but now I can't find any option to turn it on. I'm currently on macOS 10.13 High Sierra.

enter image description here

like image 217
Lukas Würzburger Avatar asked Jun 05 '18 09:06

Lukas Würzburger


People also ask

How do I change the color of my Xcode?

Xcode Getting started with Xcode Changing The Color SchemeWith the preference pane open you can click on the 'Fonts and Colors' tab. From here you can change the source AND console background and font colors.

How do I force Apple to dark mode?

To turn on dark mode on an Android operating system, go to settings either by pulling down the notifications bar all the way and hitting the cog icon, or find it in your Settings app. Then tap 'Display' and go to 'Advanced'. Here you can toggle the dark theme on and off.


2 Answers

On macOS 10.13 High Sierra and earlier

The Dark Mode is only available on macOS 10.14 Mojave.

On macOS 10.14 Mojave and later

1. On Installation: You'll get asked for the appearance as part of the installation of Mojave.

enter image description here

2. After Installation: If you want to change it afterwards go to System Preferences > General and change the Appearance.

enter image description here

2b. On macOS Catalina: You get even a third option to change the appearance automatically based on your Nightshift preferences.

enter image description here

like image 105
Lukas Würzburger Avatar answered Nov 11 '22 21:11

Lukas Würzburger


If you use macOS Mojave (10.14.+), you can enable Dark Mode only for Xcode 10 using this command line.

defaults write com.apple.dt.Xcode NSWindowDarkChocolate -bool true 

Workaround:

defaults write com.apple.dt.Xcode _NSSystemAppearanceOverride DarkAppearance 

Source (Steve Troughton-Smith's tweet)

like image 29
Maximelc Avatar answered Nov 11 '22 22:11

Maximelc