長久對着 Xcode 寫代碼,默認 Theme 的白亮和高對比度讓我的眼睛很疲倦。自帶的 Midnight Theme 太豔俗,而且對比度依然很高。Zenburn主題是針對性的做了微調。暗色系,低對比度,適合長時間編碼,可從 GitHub 上獲取。演示效果如下圖:
- Create folder ~/Library/Developer/Xcode/UserData/FontAndColorThemes/ if it is not there.
- Copy Zenburn.dvtcolortheme to the folder.
- Restart Xcode.