Skip to content

Commit

Permalink
improve theme docs (ElemeFE#1938)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leopoldthecoder authored and QingWei-Li committed Dec 23, 2016
1 parent 631afa9 commit 7489be0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/docs/en-US/custom-theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Just edit `element-variables.css`, e.g. changing the theme color to red:
```

### Build theme
After saving the variable file, use `et` to build your theme. You can activate `watch` mode by adding a parameter `-w`:
After saving the variable file, use `et` to build your theme. You can activate `watch` mode by adding a parameter `-w`. And if you customized the variable file's output, you need to add a parameter `-c` and variable file's name:
```shell
et

Expand Down
2 changes: 1 addition & 1 deletion examples/docs/zh-CN/custom-theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ et -i [可以自定义变量文件]
```

### 编译主题
保存文件后,到命令行里执行 `et` 编译主题,如果你想启用 `watch` 模式,实时编译主题,增加 `-w` 参数
保存文件后,到命令行里执行 `et` 编译主题,如果你想启用 `watch` 模式,实时编译主题,增加 `-w` 参数;如果你在初始化时指定了自定义变量文件,则需要增加 `-c` 参数,并带上你的变量文件名
```shell
et

Expand Down

0 comments on commit 7489be0

Please sign in to comment.