This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git
The following commit(s) were added to refs/heads/master by this push:
new 4509809 fix broken links in concepts/style.md, resolves
apache/echarts#16261.
4509809 is described below
commit 4509809ae81f8c08f0cf2258fe83f2bcff777f6e
Author: plainheart <[email protected]>
AuthorDate: Tue Dec 21 21:13:21 2021 +0800
fix broken links in concepts/style.md, resolves apache/echarts#16261.
---
contents/en/concepts/style.md | 4 ++--
contents/zh/concepts/style.md | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/contents/en/concepts/style.md b/contents/en/concepts/style.md
index 71c8fa6..63999f6 100644
--- a/contents/en/concepts/style.md
+++ b/contents/en/concepts/style.md
@@ -13,7 +13,7 @@ These approaches below will be introduced. The
functionalities of them might be
## Theme
-Setting a theme is the simplest way to change the color style. For example, in
[Examples page](${websitePath}/examples/en/index.html), we can switch to dark
mode and see the result of a different theme.
+Setting a theme is the simplest way to change the color style. For example, in
[Examples page](${mainSitePath}examples), we can switch to dark mode and see
the result of a different theme.
In our project, we can switch to dark theme like:
@@ -21,7 +21,7 @@ In our project, we can switch to dark theme like:
var chart = echarts.init(dom, 'dark');
```
-Other themes are not included by default, and need to load them ourselves if
we want to use them. Themes can be visited and downloaded in the [theme
builder](https://echarts.apache.org/en/theme-builder.html). Theme can also be
created or edited in it. The downloaded theme can be used as follows:
+Other themes are not included by default, and need to load them ourselves if
we want to use them. Themes can be visited and downloaded in the [theme
builder](${mainSitePath}theme-builder.html). Theme can also be created or
edited in it. The downloaded theme can be used as follows:
If a theme is downloaded as a JSON file, we should register it by ourselves,
for example:
diff --git a/contents/zh/concepts/style.md b/contents/zh/concepts/style.md
index 96728de..866f92a 100644
--- a/contents/zh/concepts/style.md
+++ b/contents/zh/concepts/style.md
@@ -13,7 +13,7 @@
## 颜色主题(Theme)
-最简单的更改全局样式的方式,是直接采用颜色主题(theme)。例如,在 [示例集合](${websitePath}/examples)
中,可以通过切换深色模式,直接看到采用主题的效果。
+最简单的更改全局样式的方式,是直接采用颜色主题(theme)。例如,在 [示例集合](${mainSitePath}examples)
中,可以通过切换深色模式,直接看到采用主题的效果。
ECharts5 除了一贯的默认主题外,还内置了`'dark'`主题。可以像这样切换成深色模式:
@@ -21,7 +21,7 @@ ECharts5 除了一贯的默认主题外,还内置了`'dark'`主题。可以像
var chart = echarts.init(dom, 'dark');
```
-其他的主题,没有内置在 ECharts 中,需要自己加载。这些主题可以在
[主题编辑器](https://echarts.apache.org/theme-builder.html)
里访问到。也可以使用这个主题编辑器,自己编辑主题。下载下来的主题可以这样使用:
+其他的主题,没有内置在 ECharts 中,需要自己加载。这些主题可以在
[主题编辑器](${mainSitePath}theme-builder.html)
里访问到。也可以使用这个主题编辑器,自己编辑主题。下载下来的主题可以这样使用:
如果主题保存为 JSON 文件,则需要自行加载和注册,例如:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]