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
代码
DVTConsoleDebuggerInputTextColor
1 1 1 1
DVTConsoleDebuggerInputTextFont
SFMono-Bold - 13.0
DVTConsoleDebuggerOutputTextColor
1 1 1 1
DVTConsoleDebuggerOutputTextFont
SFMono-Regular - 13.0
DVTConsoleDebuggerPromptTextColor
0.255 0.714 0.27 1
DVTConsoleDebuggerPromptTextFont
SFMono-Bold - 13.0
DVTConsoleExectuableInputTextColor
1 1 1 1
DVTConsoleExectuableInputTextFont
SFMono-Regular - 13.0
DVTConsoleExectuableOutputTextColor
1 1 1 1
DVTConsoleExectuableOutputTextFont
SFMono-Bold - 13.0
DVTConsoleTextBackgroundColor
0.118 0.125 0.157 1
DVTConsoleTextInsertionPointColor
1 1 1 1
DVTConsoleTextSelectionColor
0.397 0.397 0.302 1
DVTDebuggerInstructionPointerColor
0.12 0.31 0.34 1
DVTFontSizeModifier
2
DVTLineSpacing
1.1000000238418579
DVTMarkupTextBackgroundColor
0.18856 0.195 0.22444 1
DVTMarkupTextBorderColor
0.253475 0.2594 0.286485 1
DVTMarkupTextCodeFont
SFMono-Regular - 12.0
DVTMarkupTextEmphasisColor
1 1 1 1
DVTMarkupTextEmphasisFont
.AppleSystemUIFontItalic - 12.0
DVTMarkupTextInlineCodeColor
1 1 1 0.7
DVTMarkupTextLinkColor
0.33 0.247124 0.894195 1
DVTMarkupTextLinkFont
.AppleSystemUIFont - 12.0
DVTMarkupTextNormalColor
1 1 1 1
DVTMarkupTextNormalFont
.AppleSystemUIFont - 12.0
DVTMarkupTextOtherHeadingColor
1 1 1 0.5
DVTMarkupTextOtherHeadingFont
.AppleSystemUIFont - 16.0
DVTMarkupTextPrimaryHeadingColor
1 1 1 1
DVTMarkupTextPrimaryHeadingFont
.AppleSystemUIFont - 26.0
DVTMarkupTextSecondaryHeadingColor
1 1 1 1
DVTMarkupTextSecondaryHeadingFont
.AppleSystemUIFont - 20.0
DVTMarkupTextStrongColor
1 1 1 1
DVTMarkupTextStrongFont
.AppleSystemUIFontBold - 12.0
DVTScrollbarMarkerAnalyzerColor
0.403922 0.372549 1 1
DVTScrollbarMarkerBreakpointColor
0.290196 0.290196 0.968627 1
DVTScrollbarMarkerDiffColor
0.556863 0.556863 0.556863 1
DVTScrollbarMarkerDiffConflictColor
0.968627 0.290196 0.290196 1
DVTScrollbarMarkerErrorColor
0.968627 0.290196 0.290196 1
DVTScrollbarMarkerRuntimeIssueColor
0.643137 0.509804 1 1
DVTScrollbarMarkerWarningColor
0.937255 0.717647 0.34902 1
DVTSourceTextBackground
0.118 0.125 0.157 1
DVTSourceTextBlockDimBackgroundColor
0.5 0.5 0.5 1
DVTSourceTextCurrentLineHighlightColor
0.175116 0.175595 0.178208 1
DVTSourceTextInsertionPointColor
1 1 1 1
DVTSourceTextInvisiblesColor
0.5 0.5 0.5 1
DVTSourceTextSelectionColor
0.329921 0.33234 0.289423 1
DVTSourceTextSyntaxColors
xcode.syntax.attribute
0.335 0.456 0.488 1
xcode.syntax.character
0.469 0.426 0.77 1
xcode.syntax.comment
0.255 0.714 0.27 1
xcode.syntax.comment.doc
0.255 0.714 0.27 1
xcode.syntax.comment.doc.keyword
0.255 0.714 0.27 1
xcode.syntax.identifier.class
0.512 0.754 0.343 1
xcode.syntax.identifier.class.system
0 0.626 0.746 1
xcode.syntax.identifier.constant
0.512 0.754 0.343 1
xcode.syntax.identifier.constant.system
0 0.626 0.746 1
xcode.syntax.identifier.function
0.512 0.754 0.343 1
xcode.syntax.identifier.function.system
0 0.626 0.746 1
xcode.syntax.identifier.macro
0.778 0.488 0.284 1
xcode.syntax.identifier.macro.system
0.778 0.488 0.284 1
xcode.syntax.identifier.type
0.512 0.754 0.343 1
xcode.syntax.identifier.type.system
0 0.626 0.746 1
xcode.syntax.identifier.variable
0.512 0.754 0.343 1
xcode.syntax.identifier.variable.system
0 0.626 0.746 1
xcode.syntax.keyword
0.698 0.095 0.536 1
xcode.syntax.number
0.469 0.426 0.77 1
xcode.syntax.plain
1 1 1 1
xcode.syntax.preprocessor
0.778 0.488 0.284 1
xcode.syntax.string
0.859 0.171 0.219 1
xcode.syntax.url
0.255 0.333 0.819 1
DVTSourceTextSyntaxFonts
xcode.syntax.attribute
SFMono-Regular - 20.0
xcode.syntax.character
SFMono-Regular - 20.0
xcode.syntax.comment
SFMono-Regular - 20.0
xcode.syntax.comment.doc
SFMono-Regular - 20.0
xcode.syntax.comment.doc.keyword
SFMono-Regular - 20.0
xcode.syntax.identifier.class
SFMono-Regular - 20.0
xcode.syntax.identifier.class.system
SFMono-Regular - 20.0
xcode.syntax.identifier.constant
SFMono-Regular - 20.0
xcode.syntax.identifier.constant.system
SFMono-Regular - 20.0
xcode.syntax.identifier.function
SFMono-Regular - 20.0
xcode.syntax.identifier.function.system
SFMono-Regular - 20.0
xcode.syntax.identifier.macro
SFMono-Regular - 20.0
xcode.syntax.identifier.macro.system
SFMono-Regular - 20.0
xcode.syntax.identifier.type
SFMono-Regular - 20.0
xcode.syntax.identifier.type.system
SFMono-Regular - 20.0
xcode.syntax.identifier.variable
SFMono-Regular - 20.0
xcode.syntax.identifier.variable.system
SFMono-Regular - 20.0
xcode.syntax.keyword
SFMono-Regular - 20.0
xcode.syntax.number
SFMono-Regular - 20.0
xcode.syntax.plain
SFMono-Regular - 20.0
xcode.syntax.preprocessor
SFMono-Regular - 20.0
xcode.syntax.string
SFMono-Regular - 20.0
xcode.syntax.url
SFMono-Regular - 20.0