更改Xcode主题


更新了Lion系统以后User下library目录就被隐藏了

不过可以通过Finder中的前往文件夹选项进入library中 (输入./library回车)


存放主题的文件夹就在 user/library/developer/Xcode/UserData/FontAndColorThemes 下

后缀名为.dvtcolortheme就是主题文件了。

用文本编辑器更改成


<?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>1 1 1 1</string>
	<key>DVTConsoleDebuggerInputTextFont</key>
	<string>Menlo-Bold - 11.0</string>
	<key>DVTConsoleDebuggerOutputTextColor</key>
	<string>1 1 1 1</string>
	<key>DVTConsoleDebuggerOutputTextFont</key>
	<string>Menlo-Regular - 11.0</string>
	<key>DVTConsoleDebuggerPromptTextColor</key>
	<string>0.255 0.714 0.27 1</string>
	<key>DVTConsoleDebuggerPromptTextFont</key>
	<string>Menlo-Bold - 11.0</string>
	<key>DVTConsoleExectuableInputTextColor</key>
	<string>1 1 1 1</string>
	<key>DVTConsoleExectuableInputTextFont</key>
	<string>Menlo-Regular - 11.0</string>
	<key>DVTConsoleExectuableOutputTextColor</key>
	<string>1 1 1 1</string>
	<key>DVTConsoleExectuableOutputTextFont</key>
	<string>Menlo-Bold - 11.0</string>
	<key>DVTConsoleTextBackgroundColor</key>
	<string>0.118 0.125 0.157 1</string>
	<key>DVTConsoleTextInsertionPointColor</key>
	<string>1 1 1 1</string>
	<key>DVTConsoleTextSelectionColor</key>
	<string>0.496 0.496 0.378 1</string>
	<key>DVTDebuggerInstructionPointerColor</key>
	<string>0.12 0.31 0.34 1</string>
	<key>DVTSourceTextBackground</key>
	<string>0.0855554 0.0855554 0.0855554 1</string>
	<key>DVTSourceTextBlockDimBackgroundColor</key>
	<string>0.5 0.5 0.5 1</string>
	<key>DVTSourceTextInsertionPointColor</key>
	<string>1 1 1 1</string>
	<key>DVTSourceTextInvisiblesColor</key>
	<string>0.5 0.5 0.5 1</string>
	<key>DVTSourceTextSelectionColor</key>
	<string>0.515675 0.581767 0.588719 1</string>
	<key>DVTSourceTextSyntaxColors</key>
	<dict>
		<key>xcode.syntax.attribute</key>
		<string>0.335 0.456 0.488 1</string>
		<key>xcode.syntax.character</key>
		<string>0.615686 0.498039 0.952941 1</string>
		<key>xcode.syntax.comment</key>
		<string>0.235294 0.709804 0.305882 1</string>
		<key>xcode.syntax.comment.doc</key>
		<string>0.235294 0.709804 0.305882 1</string>
		<key>xcode.syntax.comment.doc.keyword</key>
		<string>0.784314 0.956863 0.513725 1</string>
		<key>xcode.syntax.identifier.class</key>
		<string>0.152941 0.513725 0.576471 1</string>
		<key>xcode.syntax.identifier.class.system</key>
		<string>0.0588235 0.301961 0.752941 1</string>
		<key>xcode.syntax.identifier.constant</key>
		<string>0.512 0.754 0.343 1</string>
		<key>xcode.syntax.identifier.constant.system</key>
		<string>0.388235 0.470588 0.964706 1</string>
		<key>xcode.syntax.identifier.function</key>
		<string>0.117647 0.419608 0.470588 1</string>
		<key>xcode.syntax.identifier.function.system</key>
		<string>0.298039 0.384314 0.964706 1</string>
		<key>xcode.syntax.identifier.macro</key>
		<string>0.778 0.488 0.284 1</string>
		<key>xcode.syntax.identifier.macro.system</key>
		<string>0.778 0.488 0.284 1</string>
		<key>xcode.syntax.identifier.type</key>
		<string>0.512 0.754 0.343 1</string>
		<key>xcode.syntax.identifier.type.system</key>
		<string>0.541176 0.776471 0.882353 1</string>
		<key>xcode.syntax.identifier.variable</key>
		<string>0.512 0.754 0.343 1</string>
		<key>xcode.syntax.identifier.variable.system</key>
		<string>0.890196 0.603922 0.92549 1</string>
		<key>xcode.syntax.keyword</key>
		<string>0.968627 0.854902 0.486275 1</string>
		<key>xcode.syntax.number</key>
		<string>0.469 0.426 0.77 1</string>
		<key>xcode.syntax.plain</key>
		<string>0.968627 0.968627 0.968627 1</string>
		<key>xcode.syntax.preprocessor</key>
		<string>0.778 0.488 0.284 1</string>
		<key>xcode.syntax.string</key>
		<string>0.894118 0.505882 0.505882 1</string>
		<key>xcode.syntax.url</key>
		<string>0.611765 0.698039 0.937255 1</string>
	</dict>
	<key>DVTSourceTextSyntaxFonts</key>
	<dict>
		<key>xcode.syntax.attribute</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.character</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.comment</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.comment.doc</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.comment.doc.keyword</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.identifier.class</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.identifier.class.system</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.identifier.constant</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.identifier.constant.system</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.identifier.function</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.identifier.function.system</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.identifier.macro</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.identifier.macro.system</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.identifier.type</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.identifier.type.system</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.identifier.variable</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.identifier.variable.system</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.keyword</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.number</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.plain</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.preprocessor</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.string</key>
		<string>ArialRoundedMTBold - 14.0</string>
		<key>xcode.syntax.url</key>
		<string>ArialRoundedMTBold - 14.0</string>
	</dict>
</dict>
</plist>

效果如下:



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值