Xcode的JetBrains Intellij macOS light主题

如何解决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 举报,一经查实,本站将立刻删除。

相关推荐


依赖报错 idea导入项目后依赖报错,解决方案:https://blog.csdn.net/weixin_42420249/article/details/81191861 依赖版本报错:更换其他版本 无法下载依赖可参考:https://blog.csdn.net/weixin_42628809/a
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下 2021-12-03 13:33:33.927 ERROR 7228 [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPL
错误1:gradle项目控制台输出为乱码 # 解决方案:https://blog.csdn.net/weixin_43501566/article/details/112482302 # 在gradle-wrapper.properties 添加以下内容 org.gradle.jvmargs=-Df
错误还原:在查询的过程中,传入的workType为0时,该条件不起作用 &lt;select id=&quot;xxx&quot;&gt; SELECT di.id, di.name, di.work_type, di.updated... &lt;where&gt; &lt;if test=&qu
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct redisServer’没有名为‘server_cpulist’的成员 redisSetCpuAffinity(server.server_cpulist); ^ server.c: 在函数‘hasActiveC
解决方案1 1、改项目中.idea/workspace.xml配置文件,增加dynamic.classpath参数 2、搜索PropertiesComponent,添加如下 &lt;property name=&quot;dynamic.classpath&quot; value=&quot;tru
删除根组件app.vue中的默认代码后报错:Module Error (from ./node_modules/eslint-loader/index.js): 解决方案:关闭ESlint代码检测,在项目根目录创建vue.config.js,在文件中添加 module.exports = { lin
查看spark默认的python版本 [root@master day27]# pyspark /home/software/spark-2.3.4-bin-hadoop2.7/conf/spark-env.sh: line 2: /usr/local/hadoop/bin/hadoop: No s
使用本地python环境可以成功执行 import pandas as pd import matplotlib.pyplot as plt # 设置字体 plt.rcParams[&#39;font.sans-serif&#39;] = [&#39;SimHei&#39;] # 能正确显示负号 p
错误1:Request method ‘DELETE‘ not supported 错误还原:controller层有一个接口,访问该接口时报错:Request method ‘DELETE‘ not supported 错误原因:没有接收到前端传入的参数,修改为如下 参考 错误2:cannot r
错误1:启动docker镜像时报错:Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen 解决方法:重启docker -&gt; systemctl r
错误1:private field ‘xxx‘ is never assigned 按Altʾnter快捷键,选择第2项 参考:https://blog.csdn.net/shi_hong_fei_hei/article/details/88814070 错误2:启动时报错,不能找到主启动类 #
报错如下,通过源不能下载,最后警告pip需升级版本 Requirement already satisfied: pip in c:\users\ychen\appdata\local\programs\python\python310\lib\site-packages (22.0.4) Coll
错误1:maven打包报错 错误还原:使用maven打包项目时报错如下 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources)
错误1:服务调用时报错 服务消费者模块assess通过openFeign调用服务提供者模块hires 如下为服务提供者模块hires的控制层接口 @RestController @RequestMapping(&quot;/hires&quot;) public class FeignControl
错误1:运行项目后报如下错误 解决方案 报错2:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project sb 解决方案:在pom.
参考 错误原因 过滤器或拦截器在生效时,redisTemplate还没有注入 解决方案:在注入容器时就生效 @Component //项目运行时就注入Spring容器 public class RedisBean { @Resource private RedisTemplate&lt;String
使用vite构建项目报错 C:\Users\ychen\work&gt;npm init @vitejs/app @vitejs/create-app is deprecated, use npm init vite instead C:\Users\ychen\AppData\Local\npm-