Skip to content

Commit 263eabc

Browse files
committed
补充 自定义主题 相关颜色
1 parent 72c2b54 commit 263eabc

File tree

3 files changed

+274
-133
lines changed

3 files changed

+274
-133
lines changed

en/Tutorial/Other/themes_param.md

Lines changed: 104 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,27 @@
66

77
### 文本编辑区
88

9-
|Name |Description |
9+
|名称 |描述 |
1010
|- |- |
1111
|editor.foreground |编辑区前景颜色 |
1212
|editor.background |编辑区背景颜色 |
13+
|editor.caret|光标颜色|
14+
|editor.caretLine|光标所在行的行颜色|
15+
|editor.hyperlink|超链接激活时的文字颜色|
16+
|editor.indentguide|缩进导轨的颜色|
17+
|editor.indicator.matchtag|配对括号的突出显示颜色|
18+
|editor.indicator.sameword|相同词汇的突出显示颜色|
19+
|editor.linenumber|行号颜色|
20+
|editor.selection|激活的选区颜色|
21+
|editor.selectRegion|区域内搜索选区颜色|
22+
|editor.whitespace|空白的颜色(包括TAB和SPACE)|
23+
|editor.unactive_selection.background|未激活的选区颜色(分栏后在右侧获取选区,然后点击左侧编辑器)|
24+
|editor.foldMarker.expanded.background|编辑器代码折叠图标展开状态背景色|
25+
|editor.foldMarker.expanded.foreground|编辑器代码折叠图标展开状态前景色|
26+
|editor.foldMarker.collapsed.background|编辑器代码折叠图标折叠状态背景色|
27+
|editor.foldMarker.collapsed.foreground|编辑器代码折叠图标折叠状态前景色|
28+
29+
备注:editor.background之后的颜色,仅对3.2.7+版本生效。
1330

1431
#### 编辑区代码默认颜色定义
1532
> 自定义方式,将默认代码区颜色配置拷贝到`settings.json`源码视图中自定义`"editor.tokenColorCustomizations"`节点下对应主题的`"rules"`节点下。
@@ -41,30 +58,90 @@
4158

4259
### mac标题栏(只在mac os上生效)
4360

44-
|Name |Description |
61+
|名称 |描述 |
4562
|- |- |
4663
|titleBar.activeBackground |背景颜色 |
4764
|titleBar.activeForeground |前景颜色 |
4865

66+
### windows菜单栏
67+
68+
> 以下两项,仅对windows 3.2.7+版本生效。
69+
70+
|名称 |描述 |
71+
|- |- |
72+
|menubar.background |顶部菜单栏背景颜色 |
73+
|menubar.foreground |顶部菜单栏前景颜色 |
74+
4975
### 工具栏
5076

5177

52-
|Name |Description |
78+
|名称 |描述 |
5379
|- |- |
5480
|toolBar.background |工具栏背景颜色 |
5581
|toolBar.border |工具栏边框颜色 |
5682
|toolBar.hoverBackground|工具栏上图标被选中时的背景颜色 |
5783

84+
### 搜索框
85+
86+
> 以下6项,仅对3.2.7+版本生效
87+
88+
|名称 |描述 |
89+
|- |- |
90+
|searchbar.foreground|当input.searchbar.foreground为空时,字符搜索框没有内容时,字符搜索框内的文字颜色(颜色模式为反色的bgr);当input.searchbar.foreground为空时,字符搜索框有内容,且内容被搜索到时,搜索文件的颜色(因是rgb模式,设置的颜色不生效);字符搜索框光标的颜色|
91+
|searchbar.notfinded.foreground|当input.searchbar.foreground.notfinded为空时,字符搜索框有内容,且内容没有搜索到时,搜索文字的颜色(因是rgb模式,设置的颜色不生效);字符搜索框光标的颜色|
92+
|searchbar.quick_search_item.icon_selected|搜索栏下拉列表,当前选中项的颜色(颜色模式为反色的bgr)|
93+
|searchbar.quick_search_item.icon|搜索栏下拉列表,未选中项的颜色(颜色模式为反色的bgr)|
94+
|input.searchbar.foreground.notfinded|字符搜索框有内容,且内容没有搜索到时,搜索文字的颜色;字符搜索框光标的颜色|
95+
|input.searchbar.foreground|字符搜索框没有内容时,字符搜索框内的文字颜色;字符搜索框有内容,且内容被搜索到时,搜索文字的颜色;字符搜索框光标的颜色|
96+
97+
### 搜索下拉框
98+
99+
|名称 |描述 |
100+
|- |- |
101+
|inputValidation.infoBackground |下拉框背景颜色 |
102+
|inputList.hoverBackground |鼠标滑过item背景颜色 |
103+
|inputList.border |下拉框边框颜色 |
104+
|inputList.titleColor |下拉框左边文字颜色 |
105+
|inputList.foreground |下拉框右边文字颜色 |
106+
107+
### 文本框
108+
109+
110+
|名称 |描述 |
111+
|- |- |
112+
|input.background |文本框背景颜色 |
113+
|input.foreground |文本框前景颜色 |
114+
|input.border |文本框边框颜色 |
115+
|focusBorder |文本框有焦点时边框颜色 |
116+
117+
### 列表控件/树控件区
118+
119+
|名称 |描述 |
120+
|- |- |
121+
|list.foreground |前景颜色 |
122+
|list.activeSelectionBackground |选中条目背景颜色 |
123+
|list.activeSelectionForeground |选中条目前景颜色 |
124+
|list.hoverBackground |鼠标滑过背景颜色 |
125+
|list.highlightForeground |高亮时前景颜色 |
126+
|list.inactiveSelectionBackground |未选中条目背景颜色 |
127+
|list.inactiveSelectionForeground |未选中条目前景颜色 |
128+
|explorer.file.status.modified |svn/git项目修改状态前景色 |
129+
|explorer.file.status.untracked |svn/git项目未跟踪状态前景色 |
130+
|explorer.file.status.added |svn/git项目添加状态前景色 |
131+
|explorer.file.status.conflicted |svn/git项目冲突状态前景色 |
132+
|explorer.file.status.rename |svn/git项目重命名状态前景色 |
133+
|explorer.file.status.marktext |svn/git项目标记前景色 |
134+
58135
### 文件资源管理器
59136

60-
|Name |Description |
137+
|名称 |描述 |
61138
|- |- |
62139
|sideBar.background |背景颜色 |
63140
|sideBar.border |边框颜色 |
64141

65142
### 标签卡
66143

67-
|Name |Description |
144+
|名称 |描述 |
68145
|- |- |
69146
|editorGroupHeader.tabsBackground |tabs背景颜色 |
70147
|tab.activeBackground |选中时的背景颜色 |
@@ -81,14 +158,14 @@
81158
### 分栏
82159

83160

84-
|Name |Description |
161+
|名称 |描述 |
85162
|- |- |
86163
|editorGroup.border |分割线颜色 |
87164
|tab.unfocusedActiveForeground |未激活分组里选中标签前景色 |
88165

89166
### 按钮
90167

91-
|Name |Description |
168+
|名称 |描述 |
92169
|- |- |
93170
|button.background |按钮背景颜色 |
94171
|button.foreground |按钮前景颜色 |
@@ -97,81 +174,43 @@
97174
### 代码助手
98175

99176

100-
|Name |Description |
177+
|名称 |描述 |
101178
|- |- |
102179
|editorSuggestWidget.background |助手弹窗背景颜色 |
103180
|editorSuggestWidget.border |助手弹窗边框颜色 |
104181
|editorSuggestWidget.selectedBackground |助手弹窗选中条目时背景颜色 |
105182
|editorSuggestWidget.link |助手链接颜色 |
106183

107-
### 文本框
108-
109-
110-
|Name |Description |
111-
|- |- |
112-
|input.background |文本框背景颜色 |
113-
|input.foreground |文本框前景颜色 |
114-
|input.border |文本框边框颜色 |
115-
|focusBorder |文本框有焦点时边框颜色 |
116-
117-
### 列表控件/树控件区
118-
119-
120-
|Name |Description |
121-
|- |- |
122-
|list.foreground |前景颜色 |
123-
|list.activeSelectionBackground |选中条目背景颜色 |
124-
|list.activeSelectionForeground |选中条目前景颜色 |
125-
|list.hoverBackground |鼠标滑过背景颜色 |
126-
|list.highlightForeground |高亮时前景颜色 |
127-
|list.inactiveSelectionBackground |未选中条目背景颜色 |
128-
|list.inactiveSelectionForeground |未选中条目前景颜色 |
129-
|explorer.file.status.modified |svn/git项目修改状态前景色 |
130-
|explorer.file.status.untracked |svn/git项目未跟踪状态前景色 |
131-
|explorer.file.status.added |svn/git项目添加状态前景色 |
132-
|explorer.file.status.conflicted |svn/git项目冲突状态前景色 |
133-
|explorer.file.status.rename |svn/git项目重命名状态前景色 |
134-
|explorer.file.status.marktext |svn/git项目标记前景色 |
135184

136185
### 文档结构图
137186

138187

139-
|Name |Description |
188+
|名称 |描述 |
140189
|- |- |
141190
|outlineBackground |文档结构背景颜色 |
142191

143192
### 滚动条
144193

145-
|Name |Description |
194+
|名称 |描述 |
146195
|- |- |
147196
|scrollbarSlider.background |滚动条背景颜色 |
148197
|scrollbarSlider.hoverBackground|鼠标滑过滚动条背景颜色 |
149198

150199
### 预览按钮
151200

152-
|Name |Description |
201+
|名称 |描述 |
153202
|- |- |
154203
|extensionButton.prominentBackground |背景颜色 |
155204
|extensionButton.prominentForeground |前景颜色 |
156205
|extensionButton.border |边框颜色 |
157206
|extensionButton.prominentHoverBackground |鼠标滑过时的背景颜色 |
158207
|extensionButton.checkColor |选中时的前景颜色 |
159208

160-
### 搜索下拉框
161-
162-
163-
|Name |Description |
164-
|- |- |
165-
|inputValidation.infoBackground |下拉框背景颜色 |
166-
|inputList.hoverBackground |鼠标滑过item背景颜色 |
167-
|inputList.border |下拉框边框颜色 |
168-
|inputList.titleColor |下拉框左边文字颜色 |
169-
|inputList.foreground |下拉框右边文字颜色 |
170209

171210
### 设置
172211

173212

174-
|Name |Description |
213+
|名称 |描述 |
175214
|- |- |
176215
|editor.background |设置页面背景颜色 |
177216
|inputOption.activeBorder |文本框有焦点时边框颜色 |
@@ -186,14 +225,14 @@
186225
### 图片预览
187226

188227

189-
|Name |Description |
228+
|名称 |描述 |
190229
|- |- |
191230
|imageview.background |浅色方格颜色 |
192231
|imageview.foreground |深色方格颜色 |
193232

194233
### 弹窗提示框
195234

196-
|Name |Description |
235+
|名称 |描述 |
197236
|- |- |
198237
|notifications.border |弹窗边框颜色 |
199238
|notifications.background |弹窗背景颜色 |
@@ -207,7 +246,7 @@
207246

208247
### 文件对比
209248

210-
|Name |Description |
249+
|名称 |描述 |
211250
|- |- |
212251
|filediff.line.add |添加行背景颜色 |
213252
|filediff.line.delete |删除行背景颜色 |
@@ -217,18 +256,26 @@
217256
### 控制台
218257

219258

220-
|Name |Description |
259+
|名称 |描述 |
221260
|- |- |
222261
|terminal.background |终端背景颜色 |
223262
|console.background | 控制台背景颜色|
224263
|panelTitle.activeForeground|tab选中时的前景颜色|
225264
|debug.foreground |前景颜色 |
265+
|console.ad|控制台广告信息文字颜色|
266+
|console.error|控制台错误信息文字颜色|
267+
|console.foreground|控制台窗口前景颜色颜色(控制台窗口文字颜色)|
268+
|console.success|控制台成功信息文字颜色|
269+
|console.time|控制台时间信息文字颜色|
270+
|console.warn|控制台警告信息文字颜色|
271+
272+
备注:debug.foreground之后的颜色,仅对3.2.7+版本生效。
226273

227274
### 查看svn/git日志
228275

229276
在svn/git项目上点击右键。只在mac上生效
230277

231-
|Name |Description |
278+
|名称 |描述 |
232279
|- |- |
233280
|logviewButton.background |按钮背景颜色 |
234281
|logviewButton.border |按钮边框颜色 |
@@ -243,14 +290,14 @@
243290

244291
### 状态栏
245292

246-
|Name |Description |
293+
|名称 |描述 |
247294
|- |- |
248295
|statusBar.background |状态栏背景颜色 |
249296
|statusBar.foreground |状态栏前景颜色 |
250297

251298

252299
### 右侧迷你地图
253300

254-
|Name |Description |
301+
|名称 |描述 |
255302
|- |- |
256303
|minimap.handle.background |迷你地图滑块背景 |

0 commit comments

Comments
 (0)