diff options
author | panda-z <panda.hust@gmail.com> | 2020-04-13 21:18:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 21:18:35 +0800 |
commit | 5657112dfb0e6eac2faa2ae1dc0978ed29030709 (patch) | |
tree | f22279cb587444b0649f95da647b60daf1f370e9 /README-zh.md | |
parent | d39d3e443953caea05510b19fdd7a259c71a0ab3 (diff) |
chore(build): drop webpack and use Hugo Pipes (#130)
Diffstat (limited to 'README-zh.md')
-rw-r--r-- | README-zh.md | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/README-zh.md b/README-zh.md index a98b090..2d44ae5 100644 --- a/README-zh.md +++ b/README-zh.md @@ -64,22 +64,9 @@ defaultContentLanguage = "en" # en / zh-cn / other... 主题提供了 `center`,` right`, `left`,` music`, `admonition` 这些 shortcodes,并支持为内置的 `figure` 设置 `center`,` right`, `left` 这三种 class 值。点击[这里](https://blog.olowolo.com/example-site/post/shortcodes/)查看详细内容。 -## Theme Color +## Theme Color 主题内置了五种颜色 ( Default | Mint Green | Cobalt Blue | Hot Pink | Dark Violet ),你可以通过改变 [`/src/css/_variable.scss`](https://github.com/olOwOlo/hugo-theme-even/blob/master/src/css/_variables.scss#L5-L8) 文件中 `$theme-color-config` 的值来改变主题的颜色。 - -## Build - -如果你更改了 `/src/` 目录下的任意文件,你需要重新编译它们。 -```bash -cd ./themes/even/ -# install dependencies -yarn install -# build -yarn build -``` - -_你需要先安装 **[Yarn](https://yarnpkg.com/)** 和 **[Node.js](https://nodejs.org/)**。_ ## Update Theme |