[Doc] update vant-demo respo (#318)

* fix: Tabbar icon line-height

* [new feature] progress add showPivot prop

* [new feature] TabItem support vue-router

* [new feature] update document header style

* [Doc] add toast english ducoment

* [bugfix] Search box-sizing wrong

* [Doc] update vant-demo respo
This commit is contained in:
neverland
2017-11-15 20:49:53 -06:00
committed by GitHub
parent d8b6ad7d54
commit 46ab59930e
9 changed files with 113 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
## Custom Theme (In translation)
`Vant`提供了一套默认主题CSS 命名采用 BEM 的风格,方便使用者覆盖样式。如果你想完全替换主题色或者其他样式,可以使用下面的方法:
`Vant` provides a set of default themes, if you want to custom the theme color or other styles, you can use the following methods:
### 方案一. PostCSS 插件
在项目中直接引入组件对应的 postcss 源代码,并通过 postcss 插件 [postcss-theme-variables](https://www.npmjs.com/package/postcss-theme-variables) 替换颜色变量,步骤如下: