VS Code 颜色主题定制

VS Code 颜色主题定制

工作台颜色参考
设置文件 setting.json

{
    "workbench.colorCustomizations": {
        //...
    }
}

主题扩展文件

{
    "colors": {
        //...
    }
}
Contrast colors 对比色

contrastActiveBorder 在活动元素周围额外的一层边框,用来提高对比度从而区别其他元素。

contrastBorder 在元素周围额外的一层边框,用来提高对比度从而区别其他元素。

Base colors 基础色

descriptionForeground 提供其他信息的说明文本的前景色(例如标签文本)。

disabledForeground 已禁用元素的前景色。此颜色仅在不被组件覆盖时适用。

errorForeground 错误信息的前景色。此颜色仅在不被组件覆盖时适用。

focusBorder 焦点元素的边框颜色。此颜色仅在不被组件覆盖时适用。

foreground 整体前景色。此颜色仅在不被组件覆盖时适用。

icon.foreground 工作台中图标的默认颜色。

sash.hoverBorder 活动框格的边框颜色。

selection.background 工作台所选文本的背景色(例如输入字段或文本区域)。本设置不适用于编辑器。

widget.border 编辑器内小组件(例如查找/替换)的边框颜色。

widget.shadow 编辑器内小组件(例如查找/替换)的阴影颜色。

Window border 窗口边框

window.activeBorder 窗口处于活动状态时用于窗口边框颜色。当使用自定义标题栏时,仅在 macOS 和 Linux 桌面客户端中受支持。

window.inactiveBorder 窗口处于非活动状态时用于窗口边框颜色。当使用自定义标题栏时,仅在 macOS 和 Linux 桌面客户端中受支持。

Text colors 文本颜色

textBlockQuote.background 文本中块引用的背景色。

textBlockQuote.border 文本中块引用的边框颜色。

textCodeBlock.background 文本中代码块的背景色。

textLink.activeForeground 文本中链接在点击或鼠标悬停时的前景色。

textLink.foreground 文本中链接的前景色。

textPreformat.foreground 预格式化文本段的前景色。

textSeparator.foreground 文字分隔符的颜色。

Action colors 动作颜色

toolbar.activeBackground 将鼠标悬停在操作上时的工具栏的背景色。

toolbar.hoverBackground 使用鼠标悬停在操作上时显示工具栏的背景色。

toolbar.hoverOutline 使用鼠标悬停在操作上时显示工具栏轮廓颜色。

Button control 按钮控制

button.background 按钮的背景色。

button.border 按钮的边框颜色。

button.foreground 按钮前景色。

button.hoverBackground 悬停时按钮的背景色。

button.secondaryBackground 辅助按钮的背景色。

button.secondaryForeground 辅助按钮前景色。

button.secondaryHoverBackground 悬停时辅助按钮的背景色。

button.separator 按钮分隔符颜色。

checkbox.background 复选框小部件的背景色。

checkbox.border 复选框小部件的边框颜色。

checkbox.foreground 复选框小部件的前景色。

checkbox.selectBackground 选择复选框小组件所在的元素时该小组件的背景色。

checkbox.selectBorder 选择复选框小组件所在的元素时该小组件的边框颜色。

Dropdown control 下拉控制

dropdown.background 下拉列表的背景色。

dropdown.border 下拉列表的边框颜色。

dropdown.foreground 下拉列表前景色。

dropdown.listBackground 下拉列表的背景色。

Input control 输入控制

input.background 输入框的背景色。

input.border 输入框的边框颜色。

input.foreground 输入框前景色。

input.placeholderForeground 输入框中占位符的前景色。

inputOption.activeBackground 输入字段中选项的背景悬停颜色。

inputOption.activeBorder 输入字段中已激活选项的边框颜色。

inputOption.activeForeground 输入字段中已激活的选项的前景色。

inputOption.hoverBackground 输入字段中激活选项的背景色。

inputValidation.errorBackground 输入验证结果为错误级别时的背景色。

inputValidation.errorBorder 严重性为错误时输入验证的边框颜色。

inputValidation.errorForeground 输入验证结果为错误级别时的前景色。

inputValidation.infoBackground 输入验证结果为信息级别时的背景色。

inputValidation.infoBorder 严重性为信息时输入验证的边框颜色。

inputValidation.infoForeground 输入验证结果为信息级别时的前景色。

inputValidation.warningBackground 严重性为警告时输入验证的背景色。

inputValidation.warningBorder 严重性为警告时输入验证的边框颜色。

inputValidation.warningForeground 输入验证结果为警告级别时的前景色。

Scrollbar control 滚动条控件

scrollbar.shadow 表示视图被滚动的滚动条阴影。

scrollbarSlider.activeBackground 滚动条滑块在被点击时的背景色。

scrollbarSlider.background 滚动条滑块的背景色。

scrollbarSlider.hoverBackground 滚动条滑块在悬停时的背景色。

Badge

badge.background Badge 的背景色。Badge 是小型的信息标签(例如表示搜索结果数量的标签)。

badge.foreground Badge 前景色。Badge 是小型的信息标签(例如表示搜索结果数量的标签)。

Progress bar 进度条

progressBar.background 表示长时间操作的进度条的背景色。

Lists and trees 列表和树

list.activeSelectionBackground 已选项在列表/树活动时的背景色。活动的列表/树具有键盘焦点,非活动的没有。

list.activeSelectionForeground 已选项在列表/树活动时的前景色。活动的列表/树具有键盘焦点,非活动的没有。

list.activeSelectionIconForeground 已选项在列表/树活动时的列表/树图标前景色。活动的列表/树具有键盘焦点,非活动的没有。

list.deemphasizedForeground 取消强调的项目的列表/树前景色。

list.dropBackground 使用鼠标移动项目时,列表/树进行拖放的背景色。

list.errorForeground 包含错误的列表项的前景色。

list.filterMatchBackground 筛选后的匹配项的背景色。

list.filterMatchBorder 筛选后的匹配项的边框颜色。

list.focusAndSelectionOutline 当列表/树处于活动状态且已选择时,重点项的列表/树的边框颜色。活动的列表/树具有键盘焦点,非活动的没有。

list.focusBackground 焦点项在列表/树活动时的背景色。活动的列表/树具有键盘焦点,非活动的没有。

list.focusForeground 焦点项在列表/树活动时的前景色。活动的列表/树具有键盘焦点,非活动的没有。

list.focusHighlightForeground 在列表/树中搜索时,匹配活动聚焦项的突出显示内容的列表/树前景色。

list.focusOutline 列表/树活动时,焦点项目的列表/树边框色。活动的列表/树具有键盘焦点,非活动的没有。

list.highlightForeground 在列表/树中搜索时,其中匹配内容的高亮颜色。

list.hoverBackground 使用鼠标移动项目时,列表/树的背景色。

list.hoverForeground 鼠标在项目上悬停时,列表/树的前景色。

list.inactiveFocusBackground 非活动的列表/树控件中焦点项的背景色。活动的列表/树具有键盘焦点,非活动的没有。

list.inactiveFocusOutline 列表/数非活动时,焦点项目的列表/树边框色。活动的列表/树具有键盘焦点,非活动的没有。

list.inactiveSelectionBackground 已选项在列表/树非活动时的背景色。活动的列表/树具有键盘焦点,非活动的没有。

list.inactiveSelectionForeground 已选项在列表/树非活动时的前景色。活动的列表/树具有键盘焦点,非活动的没有。

list.inactiveSelectionIconForeground 已选项在列表/树非活动时的图标前景色。活动的列表/树具有键盘焦点,非活动的则没有。

list.invalidItemForeground 列表/树中无效项的前景色(例如资源管理器中没有解析的根目录)。

list.warningForeground 包含警告的列表项的前景色。

listFilterWidget.background 列表和树中类型筛选器小组件的背景色。

listFilterWidget.noMatchesOutline 当没有匹配项时,列表和树中类型筛选器小组件的轮廓颜色。

listFilterWidget.outline 列表和树中类型筛选器小组件的轮廓颜色。

listFilterWidget.shadow 列表和树中类型筛选器小组件的阴影颜色。

tree.inactiveIndentGuidesStroke 非活动缩进参考线的树描边颜色。

tree.indentGuidesStroke 缩进参考线的树描边颜色。

tree.tableColumnsBorder 列之间的表的边框颜色。

tree.tableOddRowsBackground 奇数表行的背景色。

Activity Bar 活动栏

activityBar.activeBackground 活动项的活动栏的背景色。

activityBar.activeBorder 活动项的活动栏的边框颜色。

activityBar.activeFocusBorder 活动项的活动栏焦点的边框颜色。

activityBar.background 活动栏的背景色。

activityBar.border 活动栏分隔侧边栏的边框颜色。

activityBar.dropBorder 拖放活动栏项的反馈颜色。

activityBar.foreground 活动栏项在活动时的前景色。

activityBar.inactiveForeground 活动栏项在非活动时的前景色。

activityBarBadge.background 活动通知徽章的背景色。

activityBarBadge.foreground 活动通知徽章前景色。

Profiles 个人资料

profileBadge.background 配置文件徽章的背景色。配置文件徽章显示在活动栏中设置齿轮图标的顶部。

profileBadge.foreground 配置文件徽章前景色。配置文件徽章显示在活动栏中设置齿轮图标的顶部。

Side Bar 侧边栏

sideBar.background 侧边栏的背景色。

sideBar.border 侧边栏分隔编辑器的边框颜色。

sideBar.dropBackground 侧边栏中的部分在拖放时的反馈颜色。颜色必须透明。

sideBar.foreground 侧边栏前景色。

sideBarSectionHeader.background 侧边栏部分标题的背景色。

sideBarSectionHeader.border 侧边栏部分标题边界色。

sideBarSectionHeader.foreground 侧边栏部分标题前景色。

sideBarTitle.foreground 侧边栏标题前景色。

Minimap 迷你地图

minimap.background 迷你地图的背景色。

minimap.errorHighlight 用于错误的迷你地图标记颜色。

minimap.findMatchHighlight 用于查找匹配项的迷你地图标记颜色。

minimap.foregroundOpacity 在缩略图中呈现的前景元素的不透明度(例如 “#000000c0” 将呈现不透明度为 75% 的元素)。

minimap.selectionHighlight 编辑器选区在迷你地图中对应的标记颜色。

minimap.selectionOccurrenceHighlight 用于重复编辑器选择的缩略图标记颜色。

minimap.warningHighlight 用于警告的迷你地图标记颜色。

minimapGutter.addedBackground 添加的线的迷你地图装订线的背景色。

minimapGutter.deletedBackground 删除的线的迷你地图装订线的背景色。

minimapGutter.modifiedBackground 修改的线的迷你地图装订线的背景色。

minimapSlider.activeBackground 单击时,迷你地图滑块的背景色。

minimapSlider.background 迷你地图滑块的背景色。

minimapSlider.hoverBackground 悬停时,迷你地图滑块的背景色。

Editor Groups & Tabs 编辑器组和选项卡

editorGroup.border 将多个编辑器组彼此分隔开的颜色。

editorGroup.dropBackground 拖动编辑器时的背景色。颜色必须透明。

editorGroup.dropIntoPromptBackground 拖动文件时编辑器上显示的文本的背景色。

editorGroup.dropIntoPromptBorder 拖动文件时在编辑器上显示的文本的边框颜色。

editorGroup.dropIntoPromptForeground 拖动文件时编辑器上显示的文本前景色。

editorGroup.emptyBackground 空编辑器组的背景色。

editorGroup.focusedEmptyBorder 空编辑器组被聚焦时的边框颜色。

editorGroupHeader.border 编辑器组标题标头的边框颜色。

editorGroupHeader.noTabsBackground 禁用选项卡(“workbench.editor.showTabs”: false)时编辑器组标题颜色。

editorGroupHeader.tabsBackground 启用选项卡时编辑器组标题的背景色。

editorGroupHeader.tabsBorder 选项卡启用时编辑器组标题的边框颜色。

editorPane.background 居中编辑器布局中左侧与右侧编辑器窗格的背景色。

sideBySideEditor.horizontalBorder 在编辑器组中上下并排显示时,用于分隔两个编辑器的颜色。

sideBySideEditor.verticalBorder 在编辑器组中左右并排显示时,用于分隔两个编辑器的颜色。

tab.activeBackground 活动选项卡的背景色。

tab.activeBorder 活动选项卡底部的边框颜色。

tab.activeBorderTop 活动选项卡顶部的边框颜色。

tab.activeForeground 活动选项卡的前景色。

tab.activeModifiedBorder 已修改的活动选项卡顶部的边框颜色。

tab.border 用于将选项卡彼此分隔开的边框颜色。

tab.hoverBackground 悬停时选项卡的背景色。

tab.hoverBorder 悬停时选项卡用于突出显示的边框颜色。

tab.hoverForeground 悬停时选项卡的前景色。

tab.inactiveBackground 非活动选项卡的背景色。

tab.inactiveForeground 非活动选项卡的前景色。

tab.inactiveModifiedBorder 已修改的非活动选项卡顶部的边框颜色。

tab.lastPinnedBorder 用于将固定的选项卡与其他选项卡隔开的边框颜色。

tab.unfocusedActiveBackground 未聚焦组中的活动选项卡的背景色。

tab.unfocusedActiveBorder 失去焦点的活动选项卡底部的边框颜色。

tab.unfocusedActiveBorderTop 失去焦点的活动选项卡顶部的边框颜色。

tab.unfocusedActiveForeground 失去焦点的活动选项卡的前景色。

tab.unfocusedActiveModifiedBorder 未聚焦组中已修改的活动选项卡顶部的边框颜色。

tab.unfocusedHoverBackground 未聚焦组选项卡被悬停时的背景色。

tab.unfocusedHoverBorder 悬停时未聚焦组选项卡用于突出显示的边框颜色。

tab.unfocusedHoverForeground 悬停时未聚焦组中选项卡的前景色。

tab.unfocusedInactiveBackground 未聚焦组中非活动选项卡的背景色。

tab.unfocusedInactiveForeground 未聚焦组中非活动选项卡的前景色。

tab.unfocusedInactiveModifiedBorder 未聚焦组中已修改的非活动选项卡顶部的边框颜色。

Editor colors 编辑器颜色

editor.background 编辑器的背景色。

editor.findMatchBackground 当前搜索匹配项的颜色。

editor.findMatchBorder 当前搜索匹配项的边框颜色。

editor.findMatchHighlightBackground 其他搜索匹配项的颜色。颜色必须透明。

editor.findMatchHighlightBorder 其他搜索匹配项的边框颜色。

editor.findRangeHighlightBackground 限制搜索范围的颜色。颜色必须透明。

editor.findRangeHighlightBorder 限制搜索范围的边框颜色。颜色必须透明。

editor.foldBackground 折叠范围后面的背景色。颜色必须设为透明。

editor.foreground 编辑器前景色。

editor.hoverHighlightBackground 在下面突出显示悬停的字词。颜色必须透明。

editor.inactiveSelectionBackground 非活动编辑器中所选内容的颜色。颜色必须透明。

editor.lineHighlightBackground 光标所在行高亮内容的背景色。

editor.lineHighlightBorder 光标所在行高亮内容的边框颜色。

editor.linkedEditingBackground 编辑器根据类型自动重命名时的背景色。

editor.rangeHighlightBackground 高亮范围的背景色,喜欢通过快速打开和查找功能。颜色必须透明。

editor.rangeHighlightBorder 高亮区域的边框颜色。

editor.selectionBackground 编辑器所选内容的颜色。

editor.selectionForeground 用以彰显高对比度的所选文本的颜色。

editor.selectionHighlightBackground 与所选项相关内容的区域的颜色。颜色必须透明。

editor.selectionHighlightBorder 与所选项相关内容的区域的边框颜色。

editor.symbolHighlightBackground 高亮显示符号的背景色(例如转到定义或转到下一个/上一个符号)。颜色必须透明。

editor.symbolHighlightBorder 高亮显示符号的边框颜色。

editor.wordHighlightBackground 读取访问期间符号的背景色(例如读取变量时)。颜色必须透明。

editor.wordHighlightBorder 读取访问期间符号的边框颜色(例如读取变量)。

editor.wordHighlightStrongBackground 写入访问期间符号的背景色(例如写入变量时)。颜色必须透明。

editor.wordHighlightStrongBorder 写入访问期间符号的边框颜色(例如写入变量)。

editor.wordHighlightTextBackground 符号在文本中出现时的背景色。颜色必须透明。

editor.wordHighlightTextBorder 符号在文本中出现时的边框颜色。

editorBracketHighlight.foreground1 括号的前景色(1)。需要启用括号对着色。

editorBracketHighlight.foreground2 括号的前景色(2)。需要启用括号对着色。

editorBracketHighlight.foreground3 括号的前景色(3)。需要启用括号对着色。

editorBracketHighlight.foreground4 括号的前景色(4)。需要启用括号对着色。

editorBracketHighlight.foreground5 括号的前景色(5)。需要启用括号对着色。

editorBracketHighlight.foreground6 括号的前景色(6)。需要启用括号对着色。

editorBracketHighlight.unexpectedBracket.foreground 方括号出现意外的前景色。

editorBracketMatch.background 匹配括号的背景色。

editorBracketMatch.border 匹配括号的边框颜色。

editorBracketPairGuide.activeBackground1 活动括号对指南的背景色(1)。需要启用括号对指南。

editorBracketPairGuide.activeBackground2 活动括号对指南的背景色(2)。需要启用括号对指南。

editorBracketPairGuide.activeBackground3 活动括号对指南的背景色(3)。需要启用括号对指南。

editorBracketPairGuide.activeBackground4 活动括号对指南的背景色(4)。需要启用括号对指南。

editorBracketPairGuide.activeBackground5 活动括号对指南的背景色(5)。需要启用括号对指南。

editorBracketPairGuide.activeBackground6 活动括号对指南的背景色(6)。需要启用括号对指南。

editorBracketPairGuide.background1 非活动括号对指南的背景色(1)。需要启用括号对指南。

editorBracketPairGuide.background2 非活动括号对指南的背景色(2)。需要启用括号对指南。

editorBracketPairGuide.background3 非活动括号对指南的背景色(3)。需要启用括号对指南。

editorBracketPairGuide.background4 非活动括号对指南的背景色(4)。需要启用括号对指南。

editorBracketPairGuide.background5 非活动括号对指南的背景色(5)。需要启用括号对指南。

editorBracketPairGuide.background6 非活动括号对指南的背景色(6)。需要启用括号对指南。

editorCodeLens.foreground 编辑器 CodeLens 的前景色。

editorCommentsWidget.rangeActiveBackground 当前选定或悬停注释范围的背景色。

editorCommentsWidget.rangeActiveBorder 当前选定或悬停注释范围的边框颜色。

editorCommentsWidget.rangeBackground 注释范围的背景色。

editorCommentsWidget.rangeBorder 注释范围的边框颜色。

editorCommentsWidget.resolvedBorder 已解析评论的边框和箭头颜色。

editorCommentsWidget.unresolvedBorder 未解析评论的边框和箭头颜色。

editorCursor.background 编辑器光标的背景色。可以自定义块型光标覆盖字符的颜色。

editorCursor.foreground 编辑器光标的前景色。

editorError.background 编辑器中错误文本的背景色。颜色必须透明。

editorError.border 如果设置,编辑器中错误的双下划线颜色。

editorError.foreground 编辑器中错误波浪线的前景色。

editorGutter.addedBackground 编辑器导航线中已插入行的背景色。

editorGutter.background 编辑器导航线的背景色。导航线包括边缘符号和行号。

editorGutter.commentGlyphForeground 编辑器装订线中评论字形的装饰颜色。

editorGutter.commentRangeForeground 用于标注范围的编辑器装订线装饰颜色。颜色必须不透明。

editorGutter.commentUnresolvedGlyphForeground 编辑器装订线修饰颜色,用于注释未解析注释线程的字形。

editorGutter.deletedBackground 编辑器导航线中被删除行的背景色。

editorGutter.foldingControlForeground 编辑器装订线中折叠控件的颜色。

editorGutter.modifiedBackground 编辑器导航线中已修改行的背景色。

editorHint.border 如果设置,编辑器中提示的双下划线颜色。

editorHint.foreground 编辑器中提示波浪线的前景色。

editorIndentGuide.activeBackground 编辑器活动缩进参考线的颜色。

editorIndentGuide.background 编辑器缩进参考线的颜色。

editorInfo.background 编辑器中信息文本的背景色。颜色必须透明。

editorInfo.border 如果设置,编辑器中信息的双下划线颜色。

editorInfo.foreground 编辑器中信息波浪线的前景色。

editorInlayHint.background 内联提示的背景色。

editorInlayHint.foreground 内联提示的前景色。

editorInlayHint.parameterBackground 参数内联提示的背景色。

editorInlayHint.parameterForeground 参数内联提示的前景色。

editorInlayHint.typeBackground 类型内联提示的背景色。

editorInlayHint.typeForeground 类型内联提示的前景色。

editorLightBulb.foreground 灯泡操作图标的颜色。

editorLightBulbAutoFix.foreground 灯泡自动修复操作图标的颜色。

editorLineNumber.activeForeground 编辑器活动行号的颜色。

editorLineNumber.dimmedForeground 将 editor.renderFinalNewline 设置为灰色时最终编辑器行的颜色。

editorLineNumber.foreground 编辑器行号的颜色。

editorLink.activeForeground 活动链接颜色。

editorOverviewRuler.addedForeground 概览标尺中已增加内容的颜色。

editorOverviewRuler.background 编辑器概述标尺的背景色。

editorOverviewRuler.border 概览标尺边框颜色。

editorOverviewRuler.bracketMatchForeground 概览标尺上表示匹配括号的标记颜色。

editorOverviewRuler.deletedForeground 概览标尺中已删除内容的颜色。

editorOverviewRuler.errorForeground 概览标尺中错误标记的颜色。

editorOverviewRuler.findMatchForeground 用于查找匹配项的概述标尺标记颜色。颜色必须透明。

editorOverviewRuler.infoForeground 概览标尺中信息标记的颜色。

editorOverviewRuler.modifiedForeground 概览标尺中已修改内容的颜色。

editorOverviewRuler.rangeHighlightForeground 用于突出显示范围的概述标尺标记颜色。颜色必须透明。

editorOverviewRuler.selectionHighlightForeground 用于突出显示所选内容的概述标尺标记颜色。颜色必须透明。

editorOverviewRuler.warningForeground 概览标尺中警告标记的颜色。

editorOverviewRuler.wordHighlightForeground 用于突出显示符号的概述标尺标记颜色。颜色必须透明。

editorOverviewRuler.wordHighlightStrongForeground 用于突出显示写权限符号的概述标尺标记颜色。颜色必须透明。

editorOverviewRuler.wordHighlightTextForeground 符号在文本中出现时的概述标尺标记颜色。颜色必须透明。

editorRuler.foreground 编辑器标尺的颜色。

editorUnicodeHighlight.background 用于突出显示 Unicode 字符的背景色。

editorUnicodeHighlight.border 用于突出显示 Unicode 字符的边框颜色。

editorUnnecessaryCode.border 编辑器中未使用的代码的边框颜色。

editorUnnecessaryCode.opacity 未使用的代码的在编辑器中显示的不透明度(例如 #000000c0 将以 75% 的不透明度显示代码)。对于高对比度主题,请使用 editorUnnecessaryCode.border 主题来为非必须代码添加下划线,以避免颜色淡化。

editorWarning.background 编辑器中警告文本的背景色。颜色必须透明。

editorWarning.border 如果设置,编辑器中警告的双下划线颜色。

editorWarning.foreground 编辑器中警告波浪线的前景色。

editorWhitespace.foreground 编辑器中空白字符的颜色。

problemsErrorIcon.foreground 用于问题错误图标的颜色。

problemsInfoIcon.foreground 用于问题信息图标的颜色。

problemsWarningIcon.foreground 用于问题警告图标的颜色。

search.resultsInfoForeground 搜索 Viewlet 完成消息中文本的颜色。

searchEditor.findMatchBackground 搜索编辑器查询匹配的颜色。

searchEditor.findMatchBorder 搜索编辑器查询匹配的边框颜色。

searchEditor.textInputBorder 搜索编辑器文本输入框的边框。

Diff editor colors 差异编辑器颜色

diffEditor.border 两个文本编辑器之间的边框颜色。

diffEditor.diagonalFill 差异编辑器的对角线填充颜色。对角线填充用于并排差异视图。

diffEditor.insertedLineBackground 已插入的行的背景色。颜色必须透明。

diffEditor.insertedTextBackground 已插入的文本的背景色。颜色必须透明。

diffEditor.insertedTextBorder 插入的文本的边框颜色。

diffEditor.move.border 在差异编辑器中移动的文本的边框颜色。

diffEditor.removedLineBackground 已删除的行的背景色。颜色必须透明。

diffEditor.removedTextBackground 已删除的文本的背景色。颜色必须透明。

diffEditor.removedTextBorder 被删除文本的边框颜色。

diffEditor.unchangedCodeBackground 差异编辑器中未更改代码的背景色。

diffEditor.unchangedRegionBackground 差异编辑器中未更改块的背景色。

diffEditor.unchangedRegionForeground 差异编辑器中未更改块的前景色。

diffEditorGutter.insertedLineBackground 插入行的边距的背景色。

diffEditorGutter.removedLineBackground 删除行的边距的背景色。

diffEditorOverview.insertedForeground 插入内容的差异概述标尺前景色。

diffEditorOverview.removedForeground 删除内容的差异概述标尺前景色。

Chat colors 聊天请求颜色

chat.requestBackground 聊天请求的背景色。

chat.requestBorder 聊天请求的边框颜色。

Inline Chat colors 交互式编辑器小组件颜色

inlineChat.background 交互式编辑器小组件的背景色。

inlineChat.border 交互式编辑器小组件的边框颜色。

inlineChat.regionHighlight 当前交互区域的背景突出显示。颜色必须透明。

inlineChat.shadow 交互式编辑器小组件的阴影颜色。

inlineChatDiff.inserted 交互式编辑器输入中已插入文本的背景色。

inlineChatInput.background 交互式编辑器输入的背景色。

inlineChatInput.border 交互式编辑器输入的边框颜色。

inlineChatInput.focusBorder 聚焦时交互式编辑器输入的边框颜色。

inlineChatInput.placeholderForeground 交互式编辑器输入占位符的前景色。

inlineChatrDiff.removed 交互式编辑器输入中已删除文本的背景色。

Editor widget colors 异常小组件颜色

debugExceptionWidget.background 异常小组件的背景色。

debugExceptionWidget.border 异常小组件的边框颜色。

editorGhostText.background 编辑器中虚影文本的背景色。

editorGhostText.border 编辑器中虚影文本的边框颜色。

editorGhostText.foreground 编辑器中虚影文本的前景色。

editorHoverWidget.background 编辑器悬停提示的背景色。

editorHoverWidget.border 编辑器悬停时的边框颜色。

editorHoverWidget.foreground 编辑器悬停时的前景色。

editorHoverWidget.highlightForeground 参数提示中活动项的前景色。

editorHoverWidget.statusBarBackground 编辑器悬停状态栏的背景色。

editorMarkerNavigation.background 编辑器标记导航小组件的背景色。

editorMarkerNavigationError.background 编辑器标记导航小组件错误颜色。

editorMarkerNavigationError.headerBackground 编辑器标记导航小组件错误标题的背景色。

editorMarkerNavigationInfo.background 编辑器标记导航小组件信息颜色。

editorMarkerNavigationInfo.headerBackground 编辑器标记导航小组件信息标题的背景色。

editorMarkerNavigationWarning.background 编辑器标记导航小组件警告颜色。

editorMarkerNavigationWarning.headerBackground 编辑器标记导航小组件警告标题的背景色。

editorStickyScroll.background 编辑器的粘滞滚动的背景色。

editorStickyScrollHover.background 编辑器悬停的背景色上的粘滞滚动。

editorSuggestWidget.background 建议小组件的背景色。

editorSuggestWidget.border 建议小组件的边框颜色。

editorSuggestWidget.focusHighlightForeground 当某项获得焦点时,在建议小组件中突出显示的匹配项的颜色。

editorSuggestWidget.foreground 建议小组件的前景色。

editorSuggestWidget.highlightForeground 建议小组件中匹配内容的高亮前景色。

editorSuggestWidget.selectedBackground 建议小组件中所选条目的背景色。

editorSuggestWidget.selectedForeground 建议小组件中所选条目的前景色。

editorSuggestWidget.selectedIconForeground 建议小组件中所选条目的图标前景色。

editorSuggestWidgetStatus.foreground 建议小组件状态的前景色。

editorWidget.background 编辑器组件(例如查找/替换)的背景色。

editorWidget.border 编辑器小部件的边框颜色。此颜色仅在小部件有边框且不被小部件覆盖时适用。

editorWidget.foreground 编辑器小部件(例如查找/替换)的前景色。

editorWidget.resizeBorder 编辑器小部件大小调整条的边框颜色。此颜色仅在小部件有调整边框且不被小部件覆盖时适用。

Peek view colors 预览视图颜色

peekView.border 速览视图边框和箭头颜色。

peekViewEditor.background 速览视图编辑器的背景色。

peekViewEditor.matchHighlightBackground 在速览视图编辑器中匹配突出显示颜色。

peekViewEditor.matchHighlightBorder 在速览视图编辑器中匹配项的突出显示的边框颜色。

peekViewEditorGutter.background 速览视图编辑器中装订线的背景色。

peekViewEditorStickyScroll.background 速览视图编辑器中粘滞滚动的背景色。

peekViewResult.background 速览视图结果列表的背景色。

peekViewResult.fileForeground 速览视图结果列表中文件节点的前景色。

peekViewResult.lineForeground 速览视图结果列表中行节点的前景色。

peekViewResult.matchHighlightBackground 在速览视图结果列表中匹配突出显示颜色。

peekViewResult.selectionBackground 速览视图结果列表中所选条目的背景色。

peekViewResult.selectionForeground 速览视图结果列表中所选条目的前景色。

peekViewTitle.background 速览视图标题区域的背景色。

peekViewTitleDescription.foreground 速览视图标题信息前景色。

peekViewTitleLabel.foreground 速览视图标题颜色。

Merge conflicts colors 合并冲突颜色

editorOverviewRuler.commentForeground 解析批注的编辑器概述标尺修饰颜色。此颜色必须不透明。

editorOverviewRuler.commentUnresolvedForeground 编辑器概述未解析注释的标尺修饰颜色。此颜色必须不透明。

editorOverviewRuler.commonContentForeground 内联合并冲突中共同祖先区域的概览标尺前景色。

editorOverviewRuler.currentContentForeground 内联合并冲突中当前版本区域的概览标尺前景色。

editorOverviewRuler.incomingContentForeground 内联合并冲突中传入的版本区域的概览标尺前景色。

merge.border 内联合并冲突中标头和分割线的边框颜色。

merge.commonContentBackground 内联合并冲突中的常见祖先内容背景。颜色必须透明。

merge.commonHeaderBackground 内联合并冲突中的常见祖先标头背景。颜色必须透明。

merge.currentContentBackground 内联合并冲突中的当前内容背景。颜色必须透明。

merge.currentHeaderBackground 当前标题背景的内联合并冲突。颜色必须透明。

merge.incomingContentBackground 内联合并冲突中的传入内容背景。颜色必须透明。

merge.incomingHeaderBackground 内联合并冲突中的传入标题背景。颜色必须透明。

mergeEditor.change.background 更改的背景色。

mergeEditor.change.word.background 字词更改的背景色。

mergeEditor.changeBase.background 基中更改的背景色。

mergeEditor.changeBase.word.background 基中字更改的背景色。

mergeEditor.conflict.handled.minimapOverViewRuler 输入 1 中更改的前景色。

mergeEditor.conflict.handledFocused.border 处理的重点冲突的边框颜色。

mergeEditor.conflict.handledUnfocused.border 已处理的非重点冲突的边框颜色。

mergeEditor.conflict.input1.background 输入 1 中修饰的背景色。

mergeEditor.conflict.input2.background 输入 2 中修饰的背景色。

mergeEditor.conflict.unhandled.minimapOverViewRuler 输入 1 中更改的前景色。

mergeEditor.conflict.unhandledFocused.border 未处理的重点冲突的边框颜色。

mergeEditor.conflict.unhandledUnfocused.border 未处理的非重点冲突的边框颜色。

mergeEditor.conflictingLines.background 冲突行文本的背景色。

Panel colors 面板颜色

panel.background 面板的背景色。

panel.border 将面板与编辑器隔开的边框颜色。

panel.dropBorder 拖放面板标题的反馈颜色。

panelInput.border 用于面板中输入内容的输入框边框。

panelSection.border 当多个视图在面板中水平堆叠时使用的面板区域的边框颜色。

panelSection.dropBackground 拖放面板区域的反馈颜色。颜色必须透明。

panelSectionHeader.background 面板区域标题的背景色。面板部分是嵌套在面板中的视图。

panelSectionHeader.border 当多个视图在面板中垂直堆叠时使用的面板区域标题的边框颜色。

panelSectionHeader.foreground 面板区域标题前景色。面板部分是嵌套在面板中的视图。

panelTitle.activeBorder 活动面板标题的边框颜色。

panelTitle.activeForeground 活动面板的标题颜色。

panelTitle.inactiveForeground 非活动面板的标题颜色。

Status Bar colors 状态栏颜色

statusBar.background 工作区或文件夹打开时状态栏的背景色。

statusBar.border 状态栏分隔侧边栏和编辑器的边框颜色。

statusBar.debuggingBackground 调试程序时状态栏的背景色。

statusBar.debuggingBorder 调试程序时区别于侧边栏和编辑器的状态栏的边框颜色。

statusBar.debuggingForeground 调试程序时状态栏的前景色。

statusBar.focusBorder 聚焦于键盘导航时状态栏的边框颜色。

statusBar.foreground 工作区或文件夹打开时状态栏的前景色。

statusBar.noFolderBackground 没有打开文件夹时状态栏的背景色。

statusBar.noFolderBorder 当没有打开文件夹时,用来使状态栏与侧边栏、编辑器分隔的状态栏的边框颜色。

statusBar.noFolderForeground 没有打开文件夹时状态栏的前景色。

statusBar.offlineBackground 工作台脱机时的状态栏的背景色。

statusBar.offlineForeground 工作台脱机时的状态栏前景色。

statusBarItem.activeBackground 单击时的状态栏项的背景色。

statusBarItem.compactHoverBackground 悬停在包含两个悬停的项时的状态栏项的背景色。

statusBarItem.errorBackground 状态栏错误项的背景色。错误项比状态栏中的其他条目更醒目以显示错误条件。

statusBarItem.errorForeground 状态错误项的前景色。错误项比状态栏中的其他条目更醒目以显示错误条件。

statusBarItem.focusBorder 聚焦于键盘导航时的状态栏项目的边框颜色。

statusBarItem.hoverBackground 悬停时的状态栏项的背景色。

statusBarItem.prominentBackground 状态栏突出显示项的背景色。突出显示项比状态栏中的其他条目更醒目以表明其重要性。在命令面板中更改“切换 Tab 键是否移动焦点”可查看示例。

statusBarItem.prominentForeground 状态栏突出的项目的前景色。突出的项目从其他状态栏条目中脱颖而出, 以表明重要性。从命令调色板中更改“切换选项卡键移动焦点”的模式以查看示例。状态栏显示在窗口的底部。

statusBarItem.prominentHoverBackground 状态栏突出显示项在被悬停时的背景色。突出显示项比状态栏中的其他条目更醒目以表明其重要性。在命令面板中更改“切换 Tab 键是否移动焦点”可查看示例。

statusBarItem.remoteBackground 状态栏上远程指示器的背景色。

statusBarItem.remoteForeground 状态栏上远程指示器的前景色。

statusBarItem.warningBackground 状态栏警告项的背景色。警告项比状态栏中的其他条目更醒目以显示警告条件。

statusBarItem.warningForeground 状态错误项的前景色。错误项比状态栏中的其他条目更醒目以显示错误条件。

Title Bar colors 标题栏颜色

titleBar.activeBackground 窗口处于活动状态时的标题栏的背景色。

titleBar.activeForeground 窗口处于活动状态时的标题栏的前景色。

titleBar.border 标题栏的边框颜色。

titleBar.inactiveBackground 窗口处于非活动状态时的标题栏的背景色。

titleBar.inactiveForeground 窗口处于非活动状态时的标题栏的前景色。

Menu Bar colors 菜单栏颜色

menu.background 菜单项的背景色。

menu.border 菜单的边框颜色。

menu.foreground 菜单项的前景色。

menu.selectionBackground 菜单中所选菜单项的背景色。

menu.selectionBorder 菜单中所选菜单项的边框颜色。

menu.selectionForeground 菜单中选定菜单项的前景色。

menu.separatorBackground 菜单中分隔线的颜色。

menubar.selectionBackground 菜单栏中选定菜单项的背景色。

menubar.selectionBorder 菜单栏中所选菜单项的边框颜色。

menubar.selectionForeground 菜单栏中选定菜单项的前景色。

Command Center colors 命令中心颜色

commandCenter.activeBackground 命令中心的活动的背景色。

commandCenter.activeBorder 命令中心的活动的边框颜色。

commandCenter.activeForeground 命令中心的活动前景色。

commandCenter.background 命令中心的背景色。

commandCenter.border 命令中心的边框颜色。

commandCenter.foreground 命令中心前景色。

commandCenter.inactiveBorder 窗口处于非活动状态时命令中心的边框颜色。

commandCenter.inactiveForeground 窗口处于非活动状态时命令中心的前景色。

Notification colors 通知颜色

notificationCenter.border 通知中心的边框颜色。通知从窗口右下角滑入。

notificationCenterHeader.background 通知中心头部的背景色。通知从窗口右下角滑入。

notificationCenterHeader.foreground 通知中心头部的前景色。通知从窗口右下角滑入。

notificationLink.foreground 通知链接的前景色。通知从窗口右下角滑入。

notificationToast.border 通知横幅的边框颜色。通知从窗口右下角滑入。

notifications.background 通知的背景色。通知从窗口右下角滑入。

notifications.border 通知中心中分隔通知的边框颜色。通知从窗口右下角滑入。

notifications.foreground 通知的前景色。通知从窗口右下角滑入。

notificationsErrorIcon.foreground 用于错误通知图标的颜色。通知从窗口右下角滑入。

notificationsInfoIcon.foreground 用于信息通知图标的颜色。通知从窗口右下角滑入。

notificationsWarningIcon.foreground 用于警告通知图标的颜色。通知从窗口右下角滑入。

Banner colors 横幅颜色

banner.background 横幅的背景色。横幅显示在窗口的标题栏下。

banner.foreground 横幅前景色。横幅显示在窗口的标题栏下。

banner.iconForeground 横幅图标前景色。横幅显示在窗口的标题栏下。

Extensions colors 扩展颜色

extensionBadge.remoteBackground 扩展视图中远程徽标的背景色。

extensionBadge.remoteForeground 扩展视图中远程徽标的前景色。

extensionButton.background 扩展操作的按钮的背景色。

extensionButton.foreground 扩展操作的按钮前景色。

extensionButton.hoverBackground 扩展操作的按钮背景悬停颜色。

extensionButton.prominentBackground 扩展操作中突出按钮的背景色。

extensionButton.prominentForeground 扩展操作中突出按钮前景色。

extensionButton.prominentHoverBackground 扩展操作中突出按钮被悬停时的颜色。

extensionButton.separator 扩展操作的按钮分隔符颜色。

extensionIcon.preReleaseForeground 预发布扩展的图标前景色。

extensionIcon.sponsorForeground 扩展发起人的图标前景色。

extensionIcon.starForeground 扩展分级的图标前景色。

extensionIcon.verifiedForeground 已验证扩展的发布服务器图标前景色。

Quick picker colors 快速选取器颜色

pickerGroup.border 快速选取器分组边框颜色。

pickerGroup.foreground 快速选取器分组标签的颜色。

quickInput.background 快速选取器的背景色。

quickInput.foreground 快速选取器的前景色。

quickInputList.focusBackground 焦点项目的快速选择器的背景色。

quickInputList.focusForeground 焦点项目的快速选择器的前景色。

quickInputList.focusIconForeground 焦点项目的快速选取器图标的前景色。

quickInputTitle.background 快速选取器标题的背景色。

Keybinding label colors 键绑定标签颜色

keybindingLabel.background 键绑定标签的背景色。

keybindingLabel.border 键绑定标签边框色。

keybindingLabel.bottomBorder 键绑定标签边框底部色。

keybindingLabel.foreground 键绑定标签前景色。

Keyboard shortcut table colors 键盘快捷键表颜色

keybindingTable.headerBackground Background color for the keyboard shortcuts table header.

keybindingTable.rowsBackground Background color for the keyboard shortcuts table alternating rows.

Integrated Terminal colors 集成终端颜色

terminal.ansiBlack 终端中的 ANSI 颜色 Black。

terminal.ansiBlue 终端中的 ANSI 颜色 Blue。

terminal.ansiBrightBlack 终端中的 ANSI 颜色 BrightBlack。

terminal.ansiBrightBlue 终端中的 ANSI 颜色 BrightBlue。

terminal.ansiBrightCyan 终端中的 ANSI 颜色 BrightCyan。

terminal.ansiBrightGreen 终端中的 ANSI 颜色 BrightGreen。

terminal.ansiBrightMagenta 终端中的 ANSI 颜色 BrightMagenta。

terminal.ansiBrightRed 终端中的 ANSI 颜色 BrightRed。

terminal.ansiBrightWhite 终端中的 ANSI 颜色 BrightWhite。

terminal.ansiBrightYellow 终端中的 ANSI 颜色 BrightYellow。

terminal.ansiCyan 终端中的 ANSI 颜色 Cyan。

terminal.ansiGreen 终端中的 ANSI 颜色 Green。

terminal.ansiMagenta 终端中的 ANSI 颜色 Magenta。

terminal.ansiRed 终端中的 ANSI 颜色 Red。

terminal.ansiWhite 终端中的 ANSI 颜色 White。

terminal.ansiYellow 终端中的 ANSI 颜色 Yellow。

terminal.border 分隔终端中拆分窗格的边框颜色。默认值为 panel.border 的颜色。

terminal.dropBackground 在终端上拖动时的背景色。颜色必须透明。

terminal.findMatchBackground 终端中当前搜索匹配项的颜色。颜色必须透明。

terminal.findMatchBorder 终端中当前搜索匹配项的边框颜色。

terminal.findMatchHighlightBackground 终端中其他搜索匹配项的颜色。颜色必须透明。

terminal.findMatchHighlightBorder 终端中其他搜索匹配项的边框颜色。

terminal.foreground 终端的前景色。

terminal.hoverHighlightBackground 终端中其他搜索匹配项的边框颜色。

terminal.inactiveSelectionBackground 终端没有焦点时的选择的背景色。

terminal.selectionBackground 终端选中内容的背景色。

terminal.selectionForeground 终端的选择前景色。如果此值为 null,则将保留所选前景并应用最小对比度功能。

terminal.tab.activeBorder 面板中终端选项卡侧边的边框颜色。此默认为 tab.activeBorder。

terminalCommandDecoration.defaultBackground 默认终端命令修饰的背景色。

terminalCommandDecoration.errorBackground 错误命令的终端命令修饰的背景色。

terminalCommandDecoration.successBackground 成功命令的终端命令修饰的背景色。

terminalCursor.background 终端光标的背景色。允许自定义被 block 光标遮住的字符的颜色。

terminalCursor.foreground 终端光标的前景色。

terminalOverviewRuler.cursorForeground 概述标尺光标颜色。

terminalOverviewRuler.findMatchForeground 用于在终端中查找匹配项的概述标尺标记颜色。

terminal.background 终端的背景色。

Debug colors 调试颜色

debugTokenExpression.boolean Foreground color for booleans in the debug views.

debugTokenExpression.error Foreground color for expression errors in the debug views and for error logs shown in the debug console.

debugTokenExpression.name Foreground color for the token names shown in the debug views.

debugTokenExpression.number Foreground color for numbers in the debug views.

debugTokenExpression.string Foreground color for strings in the debug views.

debugTokenExpression.value Foreground color for the token values shown in the debug views.

debugToolBar.background 调试工具栏的背景色。

debugToolBar.border 调试工具栏的边框颜色。

debugView.exceptionLabelBackground Background color for a label shown in the CALL STACK view when the debugger breaks on an exception.

debugView.exceptionLabelForeground Foreground color for a label shown in the CALL STACK view when the debugger breaks on an exception.

debugView.stateLabelBackground Background color for a label in the CALL STACK view showing the current session’s or thread’s state.

debugView.stateLabelForeground Foreground color for a label in the CALL STACK view showing the current session’s or thread’s state.

debugView.valueChangedHighlight Color used to highlight value changes in the debug views.

editor.focusedStackFrameHighlightBackground 堆栈帧中焦点一行的高亮的背景色。

editor.inlineValuesBackground 调试内联值背景的颜色。

editor.inlineValuesForeground 调试内联值文本的颜色。

editor.stackFrameHighlightBackground 堆栈帧中顶部一行的高亮的背景色。

Testing colors 测试颜色

testing.iconErrored 测试资源管理器中出错图标的颜色。

testing.iconFailed 测试资源管理器中失败图标的颜色。

testing.iconPassed 测试资源管理器中已通过图标的颜色。

testing.iconQueued 测试资源管理器中已排队图标的颜色。

testing.iconSkipped 测试资源管理器中已跳过图标的颜色。

testing.iconUnset 测试资源管理器中未设置图标的颜色。

testing.message.error.decorationForeground 在编辑器中内联显示的测试错误消息的前景色。

testing.message.error.lineBackground 在编辑器中内联显示的错误消息旁边的边距颜色。

testing.message.info.decorationForeground 在编辑器中内联显示的测试信息消息的前景色。

testing.message.info.lineBackground 在编辑器中内联显示的信息消息旁边的边距颜色。

testing.peekBorder 速览视图边框和箭头颜色。

testing.peekHeaderBackground 速览视图边框和箭头颜色。

testing.runAction 编辑器中运行图标的颜色。

Welcome page colors 欢迎页面颜色

walkThrough.embeddedEditorBackground 嵌入于交互式演练场中的编辑器的背景色。

walkthrough.stepTitle.foreground 每个演练步骤标题的前景色。

welcomePage.background 欢迎页面的背景色。

welcomePage.progress.background 欢迎页面进度栏的背景色。

welcomePage.progress.foreground 欢迎页面进度栏的前景色。

welcomePage.tileBackground 欢迎页面上磁贴的背景色。

welcomePage.tileBorder 欢迎页面上磁贴的边框颜色。

welcomePage.tileHoverBackground 欢迎页面上悬停时磁贴的背景色。

Source Control colors 源代码管理颜色

scm.providerBorder SCM 提供程序分隔符的边框颜色。

Git colors git颜色

gitDecoration.addedResourceForeground 已添加资源的颜色。

gitDecoration.conflictingResourceForeground 存在冲突的资源的颜色。

gitDecoration.deletedResourceForeground 已删除资源的颜色。

gitDecoration.ignoredResourceForeground 已忽略资源的颜色。

gitDecoration.modifiedResourceForeground 已修改资源的颜色。

gitDecoration.renamedResourceForeground 重命名或复制的资源的颜色。

gitDecoration.stageDeletedResourceForeground 已暂存的已删除资源的颜色。

gitDecoration.stageModifiedResourceForeground 已暂存的已修改资源的颜色。

gitDecoration.submoduleResourceForeground 子模块资源的颜色。

gitDecoration.untrackedResourceForeground 未跟踪资源的颜色。

Settings Editor colors 设置编辑器颜色

settings.checkboxBackground 设置编辑器复选框的背景色。

settings.checkboxBorder 设置编辑器复选框的边框颜色。

settings.checkboxForeground 设置编辑器复选框前景色。

settings.dropdownBackground 设置编辑器下拉列表的背景色。

settings.dropdownBorder 设置编辑器下拉列表的边框颜色。

settings.dropdownForeground 设置编辑器下拉列表前景色。

settings.dropdownListBorder 设置编辑器下拉列表的边框颜色。这会将选项包围起来,并将选项与描述分开。

settings.focusedRowBackground 聚焦时设置行的背景色。

settings.focusedRowBorder 将焦点放在行上时行的上边框和下边框颜色。

settings.headerBorder 标头容器的边框颜色。

settings.headerForeground 节标题或活动标题的前景色。

settings.modifiedItemIndicator 修改后的设置指示器的颜色。

settings.numberInputBackground 设置编辑器编号输入框的背景色。

settings.numberInputBorder 设置编辑器编号输入框的边框颜色。

settings.numberInputForeground 设置编辑器编号输入框前景色。

settings.rowHoverBackground 悬停时设置行的背景色。

settings.sashBorder 设置编辑器分割檢視窗扇的边框颜色。

settings.settingsHeaderHoverForeground 节标题或悬停标题的前景色。

settings.textInputBackground 设置编辑器文本输入框的背景色。

settings.textInputBorder 设置编辑器文本输入框的边框颜色。

settings.textInputForeground 设置编辑器文本输入框前景色。

Breadcrumbs colors 导航路径项颜色

breadcrumb.activeSelectionForeground 已选导航路径项的颜色。

breadcrumb.background 导航路径项的背景色。

breadcrumb.focusForeground 悬停时导航路径项的前景颜色。

breadcrumb.foreground 导航路径项的前颜色。

breadcrumbPicker.background 导航路径项选择器的背景色。

Snippets colors 代码段颜色

editor.snippetFinalTabstopHighlightBackground 代码片段中最后的 Tab 位的高亮的背景色。

editor.snippetFinalTabstopHighlightBorder 代码片段中最后的制表位的高亮的边框颜色。

editor.snippetTabstopHighlightBackground 代码片段 Tab 位的高亮的背景色。

editor.snippetTabstopHighlightBorder 代码片段 Tab 位的高亮的边框颜色。

Symbol Icons colors 符号类型颜色

symbolIcon.arrayForeground 数组符号的前景色。

symbolIcon.booleanForeground 布尔符号的前景色。

symbolIcon.classForeground 类符号的前景色。

symbolIcon.colorForeground 颜色符号的前景色。

symbolIcon.constantForeground 常量符号的前景色。

symbolIcon.constructorForeground 构造函数符号的前景色。

symbolIcon.enumeratorForeground 枚举符号的前景色。

symbolIcon.enumeratorMemberForeground 枚举器成员符号的前景色。

symbolIcon.eventForeground 事件符号的前景色。

symbolIcon.fieldForeground 字段符号的前景色。

symbolIcon.fileForeground 文件符号的前景色。

symbolIcon.folderForeground 文件夹符号的前景色。

symbolIcon.functionForeground 函数符号的前景色。

symbolIcon.interfaceForeground 接口符号的前景色。

symbolIcon.keyForeground 键符号的前景色。

symbolIcon.keywordForeground 关键字符号的前景色。

symbolIcon.methodForeground 方法符号的前景色。

symbolIcon.moduleForeground 模块符号的前景色。

symbolIcon.namespaceForeground 命名空间符号的前景色。

symbolIcon.nullForeground 空符号的前景色。

symbolIcon.numberForeground 数字符号的前景色。

symbolIcon.objectForeground 对象符号的前景色。

symbolIcon.operatorForeground 运算符符号的前景色。

symbolIcon.packageForeground 包符号的前景色。

symbolIcon.propertyForeground 属性符号的前景色。

symbolIcon.referenceForeground 参考符号的前景色。

symbolIcon.snippetForeground 片段符号的前景色。

symbolIcon.stringForeground 字符串符号的前景色。

symbolIcon.structForeground 结构符号的前景色。

symbolIcon.textForeground 文本符号的前景色。

symbolIcon.typeParameterForeground 类型参数符号的前景色。

symbolIcon.unitForeground 单位符号的前景色。

symbolIcon.variableForeground 变量符号的前景色。

Debug Icons colors 调试图标颜色

debugConsole.errorForeground Foreground color for error messages in debug REPL console.

debugConsole.infoForeground Foreground color for info messages in debug REPL console.

debugConsole.sourceForeground Foreground color for source filenames in debug REPL console.

debugConsole.warningForeground Foreground color for warning messages in debug REPL console.

debugConsoleInputIcon.foreground Foreground color for debug console input marker icon.

debugIcon.breakpointCurrentStackframeForeground 当前断点堆栈帧的图标前景色。

debugIcon.breakpointDisabledForeground 禁用断点的图标前景色。

debugIcon.breakpointForeground 断点图标前景色。

debugIcon.breakpointStackframeForeground 所有断点堆栈帧的图标前景色。

debugIcon.breakpointUnverifiedForeground 未验证断点的图标前景色。

debugIcon.continueForeground 继续的调试工具栏图标前景色。

debugIcon.disconnectForeground 断开连接的调试工具栏图标前景色。

debugIcon.pauseForeground 暂停的调试工具栏图标前景色。

debugIcon.restartForeground 重启的调试工具栏图标前景色。

debugIcon.startForeground 开始调试的调试工具栏图标前景色。

debugIcon.stepBackForeground 后退的调试工具栏图标前景色。

debugIcon.stepIntoForeground 单步执行的调试工具栏图标前景色。

debugIcon.stepOutForeground 单步执行的调试工具栏图标前景色。

debugIcon.stepOverForeground 跳过的调试工具栏图标前景色。

debugIcon.stopForeground 停止的调试工具栏图标前景色。

Notebook colors 笔记本颜色

notebook.cellBorderColor 笔记本单元格的边框颜色。

notebook.cellEditorBackground 单元格编辑器的背景色。

notebook.cellHoverBackground 悬停在单元格上时单元格的背景色。

notebook.cellInsertionIndicator 笔记本单元格插入指示符的颜色。

notebook.cellStatusBarItemHoverBackground 笔记本单元格状态栏项的背景色。

notebook.cellToolbarSeparator 单元格底部工具栏中分隔符的颜色。

notebook.editorBackground 笔记本的背景色。

notebook.focusedCellBackground 将焦点放在单元格上时单元格的背景色。

notebook.focusedCellBorder 将焦点放在单元格上时单元格焦点指示器的边框颜色。

notebook.focusedEditorBorder 笔记本单元格编辑器的边框颜色。

notebook.inactiveFocusedCellBorder 当主要焦点在编辑器外时,聚焦单元格时单元格的上下的边框颜色。

notebook.inactiveSelectedCellBorder 选定多个单元格时单元格的边框颜色。

notebook.outputContainerBackgroundColor 笔记本输出容器的背景色。

notebook.outputContainerBorderColor 笔记本输出容器的边框颜色。

notebook.selectedCellBackground 选中某个单元格时该单元格的背景色。

notebook.selectedCellBorder 选中单元格但未将焦点放在其上时单元格的上下的边框颜色。

notebook.symbolHighlightBackground 突出显示的单元格的背景色。

notebookEditorOverviewRuler.runningCellForeground 笔记本编辑器概述标尺中正在运行的单元格修饰的前景色。

notebookScrollbarSlider.activeBackground 单击时笔记本滚动条滑块的背景色。

notebookScrollbarSlider.background 笔记本滚动条滑块的背景色。

notebookScrollbarSlider.hoverBackground 悬停时笔记本滚动条滑块的背景色。

notebookStatusErrorIcon.foreground 单元格状态栏中笔记本单元格的错误图标前景色。

notebookStatusRunningIcon.foreground 单元格状态栏中笔记本单元格的正在运行图标前景色。

notebookStatusSuccessIcon.foreground 单元格状态栏中笔记本单元格的错误图标前景色。

Chart colors 图表颜色

charts.blue 图表可视化效果中使用的蓝色。

charts.foreground 图表中使用的前景色。

charts.green 图表可视化效果中使用的绿色。

charts.lines 用于图表中的水平线条的颜色。

charts.orange 图表可视化效果中使用的橙色。

charts.purple 图表可视化效果中使用的紫色。

charts.red 图表可视化效果中使用的红色。

charts.yellow 图表可视化效果中使用的黄色。

Ports Colors 端口颜色

ports.iconRunningProcessForeground 具有关联的正在运行的进程的端口图标前景色。

Comments View colors 解析批注颜色

commentsView.resolvedIcon 解析批注的图标前景色。

commentsView.unresolvedIcon 未解析批注的图标前景色。

语法颜色参考
设置文件 setting.json

{
    "editor.tokenColorCustomizations": {
        //...
    }
}

主题扩展文件

{
    "tokenColors": [
        //keyword:关键字,当无法被归并到别的组时使用
        {
            "scope": [
                "keyword.control", //通常是流程控制关键字(例如 continue、while、return)
                "keyword.control.conditional",
                "keyword.control.import",
                "punctuation.definition.keyword", //带符号的关键字
                "keyword.operator", //文本或字符类型的操作符
                "keyword.operator.assignment",
                "keyword.operator.arithmetic",
                "keyword.operator.bitwise",
                "keyword.operator.logical",
                "keyword.operator.word", //操作符是一个字(例如 and、or、not)
                "keyword.other" //其它关键字
            ],
            "settings": {
                "foreground": "#0033DD"
            }
        },
        //storage:与存储相关的内容
        {
            "scope": [
                "storage.type", //类型(例如 class、function、int、var)
                "storage.modifier", //存储相关的修饰符(例如 static、inline、const、public、private)
                "storage.type.function", //函数类型(例如 func、function、def)
                "storage.type.class",
                "storage.type.struct",
                "storage.type.enum",
                "storage.type.union",
                "storage.type.trait",
                "storage.type.interface",
                "storage.type.impl",
                "storage.type keyword.declaration.type"
            ],
            "settings": {
                "foreground": "#0033DD"
            }
        },
        //support:框架或库提供的内容
        {
            "scope": [
                "support.function", //框架或库提供的函数
                "support.constant", //框架或库提供的常量
                "support.module",
                "support.class", //框架或者库提供的类
                "support.type" //框架或者库提供的类型,有可能只在 C 系语言中使用(例如 typedef),大多数其它语言都会被认为是类
            ],
            "settings": {
                "foreground": "#3F6BE4"
            }
        },
        //entity:实体,指文档中比较大坨的部分(例如章节、类、函数、标记)。并不是所有都归于 entity.*,有些会归于 meta.*
        {
            "scope": [
                // "entity.name", //用于命名一个大实体
                "entity.name.class",
                "entity.name.struct",
                "entity.name.enum",
                "entity.name.union",
                "entity.name.trait",
                "entity.name.interface",
                "entity.name.impl",
                "entity.name.type", //类型定义或者类
                "entity.name.class.ford-decl", //在 C/C++ 中使用
                "entity.other.inherited-class", //超类/基类名称
                // "entity.name.function", //函数实体
                "entity.name.function.constructor",
                "entity.name.function.destructor",
                "entity.name.namespace", //命名空间、包、模块
                "entity.name.constant", //常数
                "entity.name.label", //类似 goto 的构造的标签
                "entity.name.tag", //HTML、XML 标签
                "entity.name.section", //章节,标记语言(markdown)的标题名称
                "entity.other.attribute-name" // HTML、CSS、XML
            ],
            "settings": {
                "foreground": "#A0008B"
            }
        },
        //meta 元作用域用于范围更大的代码或标记部分,通常包含多个更具体的范围数据结构的完整内容
        //These are not intended to be styled by a color scheme, but used by preferences and plugins
        //声明函数的整行将是 meta.function,子集将是 storage.type、entity.name.function、variable.parameter 等,后者优先级大于前者
        {
            "scope": [
                "meta.class",
                "meta.struct",
                "meta.enum",
                "meta.union",
                "meta.trait",
                "meta.interface",
                "meta.impl",
                "meta.type",
                "meta.function", //函数定义和声明的参数以及括号,宏定义代码段的参数以及括号
                "meta.function.parameters",
                "meta.function.return-type",
                "meta.namespace",
                "meta.preprocessor", //预处理 #if 等的括号,宏定义的参数括号及代码段
                "meta.annotation",
                "meta.annotation.identifier",
                "meta.annotation.parameters",
                "punctuation.definition.annotation",
                "meta.path",
                "meta.function-call", //函数名称(包括完整路径)和所有参数
                "meta.block", //用 {} 描述的代码段使用以下范围,在 {} 内的字符使用另外的 punctuation 范围
                "punctuation.section.block.begin",
                "punctuation.section.block.end",
                "meta.braces",
                "punctuation.section.braces.begin", //{}
                "punctuation.section.braces.end",
                "meta.group",
                "punctuation.section.group.begin", //()
                "punctuation.section.group.end",
                "meta.parens",
                "punctuation.section.parens.begin",
                "punctuation.section.parens.end",
                "meta.brackets",
                "punctuation.section.brackets.begin", //[]
                "punctuation.section.brackets.end",
                "meta.generic",
                "punctuation.definition.generic.begin", //<>
                "punctuation.definition.generic.end",
                "meta.tag", //HTML、XML 标签
                "meta.paragraph" //标记语言的段落
            ],
            "settings": {
                "foreground": ""
            }
        },
        {
            "scope": [
                "meta.function",
                "meta.function-call"
            ],
            "settings": {
                "foreground": "#A0008B"
            }
        },
        {
            "scope": [
                "meta.function.parameters",
                "meta.function.return-type"
            ],
            "settings": {
                "foreground": "#000000"
            }
        },
        //函数、变量、参数
        {
            "scope": [
                "variable.other", //其它变量
                "variable.other.readwrite", //let、var 声明的变量
                "punctuation.definition.variable", //$ in PHP and Shell
                "variable.other.constant", //const 声明的不可变变量
                "variable.language", //语言保留变量(例如 this、super、self 等)
                "variable.parameter", //函数参数
                "variable.other.member", //类或其他数据结构的字段,属性,成员
                "variable.function", //函数和方法名称的作用域,但仅限于调用时
                "variable.annotation", //作为数值一部分的标识符中的最终标签
                "punctuation.definition.annotation"
            ],
            "settings": {
                "foreground": "#000000"
            }
        },
        //constant:各种形式的常数
        {
            "scope": [
                "constant.numeric", //数字(例如 114, 3.14F, 0xFF)
                "constant.numeric.integer",
                "constant.numeric.integer.binary",
                "constant.numeric.integer.octal",
                "constant.numeric.integer.decimal",
                "constant.numeric.integer.hexadecimal",
                "constant.numeric.integer.other",
                "constant.numeric.float",
                "constant.numeric.float.binary",
                "constant.numeric.float.octal",
                "constant.numeric.float.decimal",
                "constant.numeric.float.hexadecimal",
                "constant.numeric.float.other",
                "constant.numeric.complex",
                "constant.numeric.complex.real",
                "constant.numeric.complex.imaginary",
                "constant.languag", //true false null
                "constant.character.escape", //转义字符、匹配字符
                "constant.other.placeholder", //格式化占位符 %s
                "constant.other" //其他常量(例如 css 中的颜色)
            ],
            "settings": {
                "foreground": "#DF1010"
            }
        },
        //string:字符串
        {
            "scope": [
                "string.quoted", //带引号的字符串
                "string.quoted.single", //带单引号字符串(例如 '...')
                "string.quoted.double", //带双引号字符串(例如 "...")
                "string.quoted.triple", //带三引号字符串(例如 """...""")
                "string.quoted.other", //其它字符串(例如 $'...'、%s{...})
                "meta.string",
                "punctuation.definition.string.begin",
                "punctuation.definition.string.end",
                "string.quoted.unquoted",
                "string.quoted.regexp", //正则表达式
                "meta.interpolated", //需要被计算的字符串
                "punctuation.section.interpolation.begin",
                "punctuation.section.interpolation.end",
                "source.language-suffix.embedded"
            ],
            "settings": {
                "foreground": "#A31515"
            }
        },
        //comment:注释
        {
            "scope": [
                "comment.line",
                "comment.block",//多行注释
                "comment.block.documentation", //多行注释
                "punctuation.definition.comment",
                "meta.toc-list"
            ],
            "settings": {
                "foreground": "#005500B7"
            }
        },
        //punctuation:标点符号
        {
            "scope": [
                "punctuation.separator", //, 和 :
                "punctuation.terminator", //; 和其他语句终止符分号(代码终止符)
                "punctuation.separator.continuation", //行继续字符
                "punctuation.accessor" //.
            ],
            "settings": {
                "foreground": ""
            }
        },
        //invalid:无效内容
        {
            "scope": [
                "invalid.illegal", //非法内容
                "invalid.deprecated" //过时内容
            ],
            "settings": {
                "foreground": "#E93636"
            }
        },
        //markup:标记作用域用于内容,而不是代码,包括 Markdown 和 Textile 等语法
        {
            "scope": [
                "markup.heading", //章节标题级别(例如一级标题、二级标题)
                "markup.list.numbered", //有序列表项
                "markup.list.unnumbered", //无序列表项
                "markup.bold", //加粗
                "markup.italic", //斜体
                "markup.underline", //下划线
                "markup.inserted", //插入
                "markup.deleted", //删除
                "markup.underline.link", //超链接
                "markup.quote", //逐字文本,通常对于 markup.raw 是禁用拼写检查的
                "markup.raw.inline", //逐字记录的文本
                "markup.raw.block",
                "markup.other" //其它标记结构
            ],
            "settings": {
                "foreground": ""
            }
        },
        //source:应用于整个源代码文件
        {
            "scope": [
                "source"
            ],
            "settings": {
                "foreground": ""
            }
        },
        //text
        {
            "name": "text",
            "scope": [
                "text.html",
                "text.xml"
            ],
            "settings": {
                "foreground": ""
            }
        },
        {
            "scope": "markup.changed",
            "settings": {
                "foreground": "#0451A5"
            }
        },
        {
            "scope": "markup.heading",
            "settings": {
                "fontStyle": "bold",
                "foreground": "#800000"
            }
        },
        {
            "scope": "markup.bold",
            "settings": {
                "fontStyle": "bold",
                "foreground": "#000080"
            }
        },
        {
            "scope": "markup.italic",
            "settings": {
                "fontStyle": "italic"
            }
        },
        {
            "scope": "markup.underline",
            "settings": {
                "fontStyle": "underline"
            }
        },
        {
            "scope": "markup.inserted",
            "settings": {
                "foreground": "#098658"
            }
        },
        {
            "scope": "markup.deleted",
            "settings": {
                "foreground": "#A31515"
            }
        },
        {
            "scope": "markup.inline.raw",
            "settings": {
                "foreground": "#800000"
            }
        },
        {
            "scope": "punctuation.definition.tag",
            "settings": {
                "foreground": "#800000"
            }
        }
    ]
}

参考资料
https://code.visualstudio.com/api/references/theme-color

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值