This is an automated email from the ASF dual-hosted git repository.

plainheart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-doc.git


The following commit(s) were added to refs/heads/master by this push:
     new d7f26670 update default value
d7f26670 is described below

commit d7f266704726c90aa7a6bbcf573857d8147f55af
Author: plainheart <[email protected]>
AuthorDate: Thu Jun 11 17:57:36 2026 +0800

    update default value
---
 en/option/component/toolbox.md  | 11 +++++++----
 en/option/partial/item-style.md |  4 ++--
 zh/option/component/toolbox.md  | 11 +++++++----
 zh/option/partial/item-style.md |  4 ++--
 4 files changed, 18 insertions(+), 12 deletions(-)

diff --git a/en/option/component/toolbox.md b/en/option/component/toolbox.md
index c83baf4f..66069cd0 100644
--- a/en/option/component/toolbox.md
+++ b/en/option/component/toolbox.md
@@ -6,7 +6,7 @@
 The style setting of ${name} icon. Since icon label is displayed only when 
hovering on the icon, the label configuration options are available under 
`emphasis`.
 
 {{ use: partial-item-style(
-    defaultBorderColor = '#666',
+    defaultBorderColor = '#6578ba',
     defaultColor = 'none',
     defaultBorderWidth = 1,
     prefix = "#" + ${prefix}
@@ -17,7 +17,10 @@ The style setting of ${name} icon. Since icon label is 
displayed only when hover
 ##${prefix} iconStyle(Object)
 
 {{ use: partial-item-style(
-    prefix = "##" + ${prefix}
+    prefix = "##" + ${prefix},
+    defaultBorderColor = '#404c76',
+    defaultColor = 'none',
+    defaultBorderWidth = 1
 ) }}
 
 ###${prefix} textPosition(string) = 'bottom'
@@ -147,9 +150,9 @@ Options:
 
 The size of toolbox's icon.
 
-## itemGap(number) = 8
+## itemGap(number) = 10
 
-<ExampleUIControlNumber min="0" default="8" />
+<ExampleUIControlNumber min="0" default="10" />
 
 The gap between each icon of toolbox. It is horizontal gap in horizontal 
layout, while vertical gap in vertical layout.
 
diff --git a/en/option/partial/item-style.md b/en/option/partial/item-style.md
index 204b0989..13da14b4 100644
--- a/en/option/partial/item-style.md
+++ b/en/option/partial/item-style.md
@@ -27,13 +27,13 @@ ${colorExtraInfo}
 
 #${prefix} borderColor(Color) = ${defaultBorderColor|default("'#000'")}
 
-<ExampleUIControlColor />
+<ExampleUIControlColor default="${defaultBorderColor|default("'#000'")}" />
 
 ${name} border color, whose format is similar to that of `color`.
 
 #${prefix} borderWidth(number) = ${defaultBorderWidth|default(0)}
 
-<ExampleUIControlNumber value="${defaultBorderWidth|default(0)}" min="0" 
step="0.5" />
+<ExampleUIControlNumber default="${defaultBorderWidth|default(0)}" min="0" 
step="0.5" />
 
 ${name} border width. No border when it is set to be 0.
 
diff --git a/zh/option/component/toolbox.md b/zh/option/component/toolbox.md
index 4170bdff..a81a8846 100644
--- a/zh/option/component/toolbox.md
+++ b/zh/option/component/toolbox.md
@@ -6,7 +6,7 @@
 ${name} icon 样式设置。由于 icon 的文本信息只在 icon hover 时候才显示,所以文字相关的配置项请在 `emphasis` 下设置。
 
 {{ use: partial-item-style(
-    defaultBorderColor = '#666',
+    defaultBorderColor = '#6578ba',
     defaultColor = 'none',
     defaultBorderWidth = 1,
     prefix = "#" + ${prefix}
@@ -17,7 +17,10 @@ ${name} icon 样式设置。由于 icon 的文本信息只在 icon hover 时候
 ##${prefix} iconStyle(Object)
 
 {{ use: partial-item-style(
-    prefix = "##" + ${prefix}
+    prefix = "##" + ${prefix},
+    defaultBorderColor = '#404c76',
+    defaultColor = 'none',
+    defaultBorderWidth = 1
 ) }}
 
 ###${prefix} textPosition(string) = 'bottom'
@@ -221,9 +224,9 @@ option = {
 
 工具栏 icon 的大小。
 
-## itemGap(number) = 8
+## itemGap(number) = 10
 
-<ExampleUIControlNumber min="0" default="8" />
+<ExampleUIControlNumber min="0" default="10" />
 
 工具栏 icon 每项之间的间隔。横向布局时为水平间隔,纵向布局时为纵向间隔。
 
diff --git a/zh/option/partial/item-style.md b/zh/option/partial/item-style.md
index a974995d..d4f52618 100644
--- a/zh/option/partial/item-style.md
+++ b/zh/option/partial/item-style.md
@@ -27,13 +27,13 @@ ${colorExtraInfo}
 
 #${prefix} borderColor(Color) = ${defaultBorderColor|default("'#000'")}
 
-<ExampleUIControlColor />
+<ExampleUIControlColor default="${defaultBorderColor|default("'#000'")}" />
 
 ${name}图形的描边颜色。支持的颜色格式同 `color`,不支持回调函数。
 
 #${prefix} borderWidth(number) = ${defaultBorderWidth|default(0)}
 
-<ExampleUIControlNumber value="${defaultBorderWidth|default(0)}" min="0" 
step="0.5" />
+<ExampleUIControlNumber default="${defaultBorderWidth|default(0)}" min="0" 
step="0.5" />
 
 ${defaultBorderWidthDesc|default((${name} ? ${name} : "") + "描边线宽。为 0 时无描边。")}
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to