Solarized is a theme which uses the same text colors for both light and dark backgrounds for consistency. You can see the overall effect in the screenshots above.
Fira Code is a typeface which produces helpful ligatures (e.g. !=
becomes ≠
, ->
becomes ⟶
, >=
becomes ⩾
, etc.) when reading your code. The effect isn't particularly noticable in the screenshots above; see the Fira Code GitHub page for better examples.
Tested working on Xcode 10
- Download and install the Fira Code typeface.
- Copy the two .xccolortheme files into
~/Library/Developer/Xcode/UserData/FontAndColorThemes
. You may have to create the directory if there isn't an existed one. - Open
Preferences
. In theFonts & Colors
tab, selectSolarized Light
orDark
theme. If they don't appear, restart Xcode and check again. (Note: From macOS Mojave (10.14) forward, your chosen theme is bound to the systemwide light/dark modes. For example, if you change the system to light mode and select Solarized Light in Xcode, then change to dark mode and choose Solarized Dark, Xcode will remember your theme selections any time you change the system between light/dark modes.)
Solarized, Fira Code, the themes upon which those in this project are based, and the code in the screenshots are not my work! I imported two separate themes, tweaked them for Xcode 10, added in Fira Code, and forked another project. Credit is due there!
- Solarized Theme official homepage
- Fira Coda typeface
- Solarized Light & Dark Theme For Xcode (forked from here)
- Solarized Light for Xcode (based on this theme)
- Solarized Dark for Xcode (based on this theme)
- Swift: 30 Projects (code in screenshots)