Skip to content

Commit e7eb4d1

Browse files
committed
调整 自定义编辑器代码颜色文档
1 parent 607833f commit e7eb4d1

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

Tutorial/themes.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@
1313
## 自定义主题
1414

1515
> 自定义窗体主题功能,仅适用于HBuilderX 1.8.8+版本;
16-
> 自定义编辑器主题功能仅适用于HBuilderX 3.1.19+版本;
1716
1817
当前HBuilderX的自定义颜色都在配置文件`settings.json`中,并且可以复写以实现个性化。实现方式如下:
1918

20-
- 自定义窗体主题:在文件`setting.json`的源码视图中,通过定义`"workbench.colorCustomizations"`字段来自定义您喜欢的主题颜色。[可自定义的相关参数](/Tutorial/Other/themes_param)
19+
#### 自定义窗体主题
20+
21+
在文件`setting.json`的源码视图中,通过定义`"workbench.colorCustomizations"`字段来自定义您喜欢的主题颜色。[可自定义的相关参数](/Tutorial/Other/themes_param)
22+
2123
```json
2224
"workbench.colorCustomizations": {
2325
"[Default]": {//绿柔
@@ -35,7 +37,12 @@
3537
}
3638
```
3739

38-
- 自定义编辑器主题:在文件`setting.json`的源码视图中,通过定义`"editor.tokenColorCustomizations"`字段来自定义您喜欢的主题颜色。[可自定义的相关参数](/Tutorial/Other/themes_param#文本编辑区)
40+
#### 自定义编辑器代码颜色
41+
42+
> 自定义编辑器代码颜色功能,仅适用于HBuilderX 3.1.19+版本;
43+
44+
在文件`setting.json`的源码视图中,通过定义`"editor.tokenColorCustomizations"`字段来自定义您喜欢的主题颜色。[可自定义代码颜色的相关参数](/Tutorial/Other/themes_param#文本编辑区)
45+
3946
```json
4047
"editor.tokenColorCustomizations": {//仅对新着色生效
4148
"[Default]": {//绿柔
@@ -72,7 +79,7 @@
7279
注意:
7380

7481
* 目前只能在现有的3个主题Default柔和、Monokai酷黑、Atom One Dark雅蓝的基础之上复写,不能完全更新新主题。
75-
* 自定义编辑器主题目前只对JavaScript(ES6+)HTML(ES6+)VueCSSLessSCSSStylusTypescript、Markdown语言生效
82+
* 自定义编辑器代码颜色,目前只对`JavaScript(ES6+)``HTML(ES6+)``Vue``CSS``Less``SCSS``Stylus``Typescript``Markdown`语言生效
7683

7784

7885
## 文件图标

0 commit comments

Comments
 (0)