如何解决Xcode的JetBrains Intellij macOS light主题
我当前在IntelliJ中使用macOS Light主题。
当我按系统偏好设置->外观和行为->外观->主题时,我可以看到macOS Light。我也在机器上使用灯光模式。
我对同一个主题非常感兴趣,但是对于Xcode。我在网上找不到任何东西。
所以我想问一个简单的问题,请问Xcode的设置是什么,以便让主题/外观出现在Xcode中?
也许已经有可供下载的Xcode版本了?
(最好还有iTerm2)
谢谢
解决方法
不幸的是,您实际上不能更改Xcode IDE本身的主题。但是,可以自定义编辑器和控制台的字体和颜色。我将一个非常相似的主题和与macOS上的Intellij基本灯光主题完全相同的颜色组合在一起。您可以将下面的xml复制并粘贴到任何文本编辑器中,并将文件另存为:
YourThemeName.xccolortheme
然后将该文件拖放到macOS上的该目录中:
~Library/Developer/Xcode/UserData/FontAndColorThemes
如果您对某些颜色,字体,字体粗细,间距等不满意,则可以通过转到Xcode并通过转到“编辑器”>“主题”>“编辑主题”来编辑特定元素来进行更改。
<?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 0 0 1</string>
<key>DVTConsoleDebuggerInputTextFont</key>
<string>SFMono-Bold - 12.0</string>
<key>DVTConsoleDebuggerOutputTextColor</key>
<string>0 0 0 1</string>
<key>DVTConsoleDebuggerOutputTextFont</key>
<string>SFMono-Medium - 12.0</string>
<key>DVTConsoleDebuggerPromptTextColor</key>
<string>0.317071 0.437736 1 1</string>
<key>DVTConsoleDebuggerPromptTextFont</key>
<string>SFMono-Bold - 12.0</string>
<key>DVTConsoleExectuableInputTextColor</key>
<string>0 0 0 1</string>
<key>DVTConsoleExectuableInputTextFont</key>
<string>SFMono-Medium - 12.0</string>
<key>DVTConsoleExectuableOutputTextColor</key>
<string>0 0 0 1</string>
<key>DVTConsoleExectuableOutputTextFont</key>
<string>SFMono-Bold - 12.0</string>
<key>DVTConsoleTextBackgroundColor</key>
<string>1 1 1 1</string>
<key>DVTConsoleTextInsertionPointColor</key>
<string>0 0 0 1</string>
<key>DVTConsoleTextSelectionColor</key>
<string>0.642038 0.802669 0.999195 1</string>
<key>DVTDebuggerInstructionPointerColor</key>
<string>0.705792 0.8 0.544 1</string>
<key>DVTFontAndColorVersion</key>
<integer>1</integer>
<key>DVTMarkupTextBackgroundColor</key>
<string>0.96 0.96 0.96 1</string>
<key>DVTMarkupTextBorderColor</key>
<string>0.8832 0.8832 0.8832 1</string>
<key>DVTMarkupTextCodeFont</key>
<string>SFMono-Regular - 10.0</string>
<key>DVTMarkupTextEmphasisColor</key>
<string>0 0 0 1</string>
<key>DVTMarkupTextEmphasisFont</key>
<string>.AppleSystemUIFontItalic - 10.0</string>
<key>DVTMarkupTextInlineCodeColor</key>
<string>0 0 0 0.7</string>
<key>DVTMarkupTextLinkColor</key>
<string>0.055 0.055 1 1</string>
<key>DVTMarkupTextLinkFont</key>
<string>.AppleSystemUIFont - 10.0</string>
<key>DVTMarkupTextNormalColor</key>
<string>0 0 0 1</string>
<key>DVTMarkupTextNormalFont</key>
<string>.AppleSystemUIFont - 10.0</string>
<key>DVTMarkupTextOtherHeadingColor</key>
<string>0 0 0 0.5</string>
<key>DVTMarkupTextOtherHeadingFont</key>
<string>.AppleSystemUIFont - 14.0</string>
<key>DVTMarkupTextPrimaryHeadingColor</key>
<string>0 0 0 1</string>
<key>DVTMarkupTextPrimaryHeadingFont</key>
<string>.AppleSystemUIFont - 24.0</string>
<key>DVTMarkupTextSecondaryHeadingColor</key>
<string>0 0 0 1</string>
<key>DVTMarkupTextSecondaryHeadingFont</key>
<string>.AppleSystemUIFont - 18.0</string>
<key>DVTMarkupTextStrongColor</key>
<string>0 0 0 1</string>
<key>DVTMarkupTextStrongFont</key>
<string>.AppleSystemUIFontBold - 10.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>1 1 1 1</string>
<key>DVTSourceTextBlockDimBackgroundColor</key>
<string>0.424672 0.424672 0.424672 1</string>
<key>DVTSourceTextCurrentLineHighlightColor</key>
<string>1 0.984314 0.898039 1</string>
<key>DVTSourceTextInsertionPointColor</key>
<string>0 0 0 1</string>
<key>DVTSourceTextInvisiblesColor</key>
<string>0.8 0.8 0.8 1</string>
<key>DVTSourceTextSelectionColor</key>
<string>0.392157 0.498039 0.717647 1</string>
<key>DVTSourceTextSyntaxColors</key>
<dict>
<key>xcode.syntax.attribute</key>
<string>0.505801 0.371396 0.012096 1</string>
<key>xcode.syntax.character</key>
<string>0.11 0 0.81 1</string>
<key>xcode.syntax.comment</key>
<string>0.568627 0.568627 0.568627 1</string>
<key>xcode.syntax.comment.doc</key>
<string>0.568627 0.568627 0.568627 1</string>
<key>xcode.syntax.comment.doc.keyword</key>
<string>0.568627 0.568627 0.568627 1</string>
<key>xcode.syntax.declaration.other</key>
<string>0.0862745 0.0862745 0.0862745 1</string>
<key>xcode.syntax.declaration.type</key>
<string>0.0862745 0.0862745 0.0862745 1</string>
<key>xcode.syntax.identifier.class</key>
<string>0.0862745 0.0862745 0.0862745 1</string>
<key>xcode.syntax.identifier.class.system</key>
<string>0.0862745 0.0862745 0.0862745 1</string>
<key>xcode.syntax.identifier.constant</key>
<string>0.0862745 0.0862745 0.0862745 1</string>
<key>xcode.syntax.identifier.constant.system</key>
<string>0.568627 0.568627 0.568627 1</string>
<key>xcode.syntax.identifier.function</key>
<string>0.0862745 0.0862745 0.0862745 1</string>
<key>xcode.syntax.identifier.function.system</key>
<string>0.0862745 0.0862745 0.0862745 1</string>
<key>xcode.syntax.identifier.macro</key>
<string>0.391471 0.220311 0.124457 1</string>
<key>xcode.syntax.identifier.macro.system</key>
<string>0.391471 0.220311 0.124457 1</string>
<key>xcode.syntax.identifier.type</key>
<string>0.0862745 0.0862745 0.0862745 1</string>
<key>xcode.syntax.identifier.type.system</key>
<string>0.0862745 0.0862745 0.0862745 1</string>
<key>xcode.syntax.identifier.variable</key>
<string>0.0862745 0.0862745 0.0862745 1</string>
<key>xcode.syntax.identifier.variable.system</key>
<string>0.447059 0.027451 0.533333 1</string>
<key>xcode.syntax.keyword</key>
<string>0.00784314 0.00392157 0.560784 1</string>
<key>xcode.syntax.mark</key>
<string>0.568627 0.568627 0.568627 1</string>
<key>xcode.syntax.markup.code</key>
<string>0.665 0.052 0.569 1</string>
<key>xcode.syntax.number</key>
<string>0.027451 0.0196078 0.972549 1</string>
<key>xcode.syntax.plain</key>
<string>0 0 0 0.85</string>
<key>xcode.syntax.preprocessor</key>
<string>0.391471 0.220311 0.124457 1</string>
<key>xcode.syntax.string</key>
<string>0.0588235 0.54902 0.117647 1</string>
<key>xcode.syntax.url</key>
<string>0.055 0.055 1 1</string>
</dict>
<key>DVTSourceTextSyntaxFonts</key>
<dict>
<key>xcode.syntax.attribute</key>
<string>SFMono-Regular - 12.0</string>
<key>xcode.syntax.character</key>
<string>SFMono-Regular - 12.0</string>
<key>xcode.syntax.comment</key>
<string>SFMono-Regular - 12.0</string>
<key>xcode.syntax.comment.doc</key>
<string>HelveticaNeue - 12.0</string>
<key>xcode.syntax.comment.doc.keyword</key>
<string>SFMono-Bold - 12.0</string>
<key>xcode.syntax.declaration.other</key>
<string>SFMono-Regular - 12.0</string>
<key>xcode.syntax.declaration.type</key>
<string>SFMono-Regular - 12.0</string>
<key>xcode.syntax.identifier.class</key>
<string>SFMono-Regular - 12.0</string>
<key>xcode.syntax.identifier.class.system</key>
<string>SFMono-Regular - 12.0</string>
<key>xcode.syntax.identifier.constant</key>
<string>SFMono-Regular - 12.0</string>
<key>xcode.syntax.identifier.constant.system</key>
<string>SFMono-Regular - 12.0</string>
<key>xcode.syntax.identifier.function</key>
<string>SFMono-Regular - 12.0</string>
<key>xcode.syntax.identifier.function.system</key>
<string>SFMono-Regular - 12.0</string>
<key>xcode.syntax.identifier.macro</key>
<string>SFMono-Regular - 12.0</string>
<key>xcode.syntax.identifier.macro.system</key>
<string>SFMono-Regular - 12.0</string>
<key>xcode.syntax.identifier.type</key>
<string>SFMono-Regular - 12.0</string>
<key>xcode.syntax.identifier.type.system</key>
<string>SFMono-Regular - 12.0</string>
<key>xcode.syntax.identifier.variable</key>
<string>SFMono-Regular - 12.0</string>
<key>xcode.syntax.identifier.variable.system</key>
<string>SFMono-Semibold - 12.0</string>
<key>xcode.syntax.keyword</key>
<string>SFMono-Semibold - 12.0</string>
<key>xcode.syntax.mark</key>
<string>SFMono-Bold - 12.0</string>
<key>xcode.syntax.markup.code</key>
<string>SFMono-Regular - 12.0</string>
<key>xcode.syntax.number</key>
<string>SFMono-Regular - 12.0</string>
<key>xcode.syntax.plain</key>
<string>SFMono-Regular - 12.0</string>
<key>xcode.syntax.preprocessor</key>
<string>SFMono-Regular - 12.0</string>
<key>xcode.syntax.string</key>
<string>SFMono-Medium - 12.0</string>
<key>xcode.syntax.url</key>
<string>SFMono-Regular - 12.0</string>
</dict>
</dict>
</plist>
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。