把Xcode
主题文件拷贝到/Users/ksnowlv/Library/Developer/Xcode/UserData/FontAndColorThemes
目录下。

那以dvtcolortheme
格式是什么文件呢?iOS/Mac OS中的plist
,实质xml文件。
打开Anubis.dvtcolortheme
文件,其内容如下(部分内容限于篇幅省略…):
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
| <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>DVTConsoleDebuggerInputTextColor</key>
<string>0.7653 0.699234 0.758969 1</string>
<key>DVTConsoleDebuggerInputTextFont</key>
<string>Menlo-Regular - 11.0</string>
<key>DVTConsoleDebuggerOutputTextColor</key>
<string>0.6431 0.5881 0.637824 1</string>
<key>DVTConsoleDebuggerOutputTextFont</key>
<string>Menlo-Regular - 11.0</string>
...
<dict>
<key>xcode.syntax.attribute</key>
<string>0.335 0.456 0.488 1</string>
<key>xcode.syntax.character</key>
<string>0.616 0.499 0.951 1</string>
<key>xcode.syntax.comment</key>
<string>0.651579 0.600072 0.644145 1</string>
...
</dict>
<key>DVTSourceTextSyntaxFonts</key>
<dict>
<key>xcode.syntax.attribute</key>
<string>SourceCodePro-Regular - 12.0</string>
<key>xcode.syntax.character</key>
<string>SourceCodePro-Regular - 12.0</string>
...
</dict>
</dict>
</plist>
|
常用的Xcode主题
1.Solarized Light & Dark

2.tomorrow-theme

3.Twilight

4.Anubis

5.armadillu

6.today-xcode-theme

7.zenburn

8.Urban

9.Toy-Chest-Theme

10.Colour-and-standards
