Dusk-Xcode-Theme
Xcode更新后,发现常用的 Dusk 主题不见了,故保存一下。
如何使用
1、复制代码保存为 Dusk.xccolortheme,拷贝该文件到 Xcode 的主题配置文件夹,路径为 ~/Library/Developer/Xcode/UserData/FontAndColorThemes/
>该目录默认不存在,如果你想让它出现,可以提前在偏好设置的Fonts & Color中添改任意一个。
>请显示隐藏文件,终端命令:defaults write com.apple.finder AppleShowAllFiles -bool true killall Finder
2、重启 Xcode 在主题选项中选择 Dusk
代码
<!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>SFMono-Bold - 13.0</string>
<key>DVTConsoleDebuggerOutputTextColor</key>
<string>1 1 1 1</string>
<key>DVTConsoleDebuggerOutputTextFont</key>
<string>SFMono-Regular - 13.0</string>
<key>DVTConsoleDebuggerPromptTextColor</key>
<string>0.255 0.714 0.27 1</string>
<key>DVTConsoleDebuggerPromptTextFont</key>
<string>SFMono-Bold - 13.0</string>
<key>DVTConsoleExectuableInputTextColor</key>
<string>1 1 1 1</string>
<key>DVTConsoleExectuableInputTextFont</key>
<string>SFMono-Regular - 13.0</string>
<key>DVTConsoleExectuableOutputTextColor</key>
<string>1 1 1 1</string>
<key>DVTConsoleExectuableOutputTextFont</key>
<string>SFMono-Bold - 13.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.397 0.397 0.302 1</string>
<key>DVTDebuggerInstructionPointerColor</key>
<string>0.12 0.31 0.34 1</string>
<key>DVTFontSizeModifier</key>
<integer>2</integer>
<key>DVTLineSpacing</key>
<real>1.1000000238418579</real>
<key>DVTMarkupTextBackgroundColor</key>
<string>0.18856 0.195 0.22444 1</string>
<key>DVTMarkupTextBorderColor</key>
<string>0.253475 0.2594 0.286485 1</string>
<key>DVTMarkupTextCodeFont</key>
<string>SFMono-Regular - 12.0</string>
<key>DVTMarkupTextEmphasisColor</key>
<string>1 1 1 1</string>
<key>DVTMarkupTextEmphasisFont</key>
<string>.AppleSystemUIFontItalic - 12.0</string>
<key>DVTMarkupTextInlineCodeColor</key>
<string>1 1 1 0.7</string>
<key>DVTMarkupTextLinkColor</key>
<string>0.33 0.247124 0.894195 1</string>
<key>DVTMarkupTextLinkFont</key>
<string>.AppleSystemUIFont - 12.0</string>
<key>DVTMarkupTextNormalColor</key>
<string>1 1 1 1</string>
<key>DVTMarkupTextNormalFont</key>
<string>.AppleSystemUIFont - 12.0</string>
<key>DVTMarkupTextOtherHeadingColor</key>
<string>1 1 1 0.5</string>
<key>DVTMarkupTextOtherHeadingFont</key>
<string>.AppleSystemUIFont - 16.0</string>
<key>DVTMarkupTextPrimaryHeadingColor</key>
<string>1 1 1 1</string>
<key>DVTMarkupTextPrimaryHeadingFont</key>
<string>.AppleSystemUIFont - 26.0</string>
<key>DVTMarkupTextSecondaryHeadingColor</key>
<string>1 1 1 1</string>
<key>DVTMarkupTextSecondaryHeadingFont</key>
<string>.AppleSystemUIFont - 20.0</string>
<key>DVTMarkupTextStrongColor</key>
<string>1 1 1 1</string>
<key>DVTMarkupTextStrongFont</key>
<string>.AppleSystemUIFontBold - 12.0</string>
<key>DVTScrollbarMarkerAnalyzerColor</key>
<string>0.403922 0.372549 1 1</string>
<key>DVTScrollbarMarkerBreakpointColor</key>
<string>0.290196 0.290196 0.968627 1</string>
<key>DVTScrollbarMarkerDiffColor</key>
<string>0.556863 0.556863 0.556863 1</string>
<key>DVTScrollbarMarkerDiffConflictColor</key>
<string>0.968627 0.290196 0.290196 1</string>
<key>DVTScrollbarMarkerErrorColor</key>
<string>0.968627 0.290196 0.290196 1</string>
<key>DVTScrollbarMarkerRuntimeIssueColor</key>
<string>0.643137 0.509804 1 1</string>
<key>DVTScrollbarMarkerWarningColor</key>
<string>0.937255 0.717647 0.34902 1</string>
<key>DVTSourceTextBackground</key>
<string>0.118 0.125 0.157 1</string>
<key>DVTSourceTextBlockDimBackgroundColor</key>
<string>0.5 0.5 0.5 1</string>
<key>DVTSourceTextCurrentLineHighlightColor</key>
<string>0.175116 0.175595 0.178208 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.329921 0.33234 0.289423 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.469 0.426 0.77 1</string>
<key>xcode.syntax.comment</key>
<string>0.255 0.714 0.27 1</string>
<key>xcode.syntax.comment.doc</key>
<string>0.255 0.714 0.27 1</string>
<key>xcode.syntax.comment.doc.keyword</key>
<string>0.255 0.714 0.27 1</string>
<key>xcode.syntax.identifier.class</key>
<string>0.512 0.754 0.343 1</string>
<key>xcode.syntax.identifier.class.system</key>
<string>0 0.626 0.746 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 0.626 0.746 1</string>
<key>xcode.syntax.identifier.function</key>
<string>0.512 0.754 0.343 1</string>
<key>xcode.syntax.identifier.function.system</key>
<string>0 0.626 0.746 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 0.626 0.746 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 0.626 0.746 1</string>
<key>xcode.syntax.keyword</key>
<string>0.698 0.095 0.536 1</string>
<key>xcode.syntax.number</key>
<string>0.469 0.426 0.77 1</string>
<key>xcode.syntax.plain</key>
<string>1 1 1 1</string>
<key>xcode.syntax.preprocessor</key>
<string>0.778 0.488 0.284 1</string>
<key>xcode.syntax.string</key>
<string>0.859 0.171 0.219 1</string>
<key>xcode.syntax.url</key>
<string>0.255 0.333 0.819 1</string>
</dict>
<key>DVTSourceTextSyntaxFonts</key>
<dict>
<key>xcode.syntax.attribute</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.character</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.comment</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.comment.doc</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.comment.doc.keyword</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.identifier.class</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.identifier.class.system</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.identifier.constant</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.identifier.constant.system</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.identifier.function</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.identifier.function.system</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.identifier.macro</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.identifier.macro.system</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.identifier.type</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.identifier.type.system</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.identifier.variable</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.identifier.variable.system</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.keyword</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.number</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.plain</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.preprocessor</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.string</key>
<string>SFMono-Regular - 20.0</string>
<key>xcode.syntax.url</key>
<string>SFMono-Regular - 20.0</string>
</dict>
</dict>
</plist>