diff --git a/docs/markdown/theme.en-US.md b/docs/markdown/theme.en-US.md index 59da82e69..466ade059 100644 --- a/docs/markdown/theme.en-US.md +++ b/docs/markdown/theme.en-US.md @@ -6,7 +6,7 @@ Vant use [Less](http://lesscss.org/) as css preprocessor,you can override the ### Less variables -There are some basic variables below, all available variables could be found in [var.less](https://github.com/youzan/vant/blob/dev/src/style/var.less)。 +There are some [basic variables](<(https://github.com/youzan/vant/blob/dev/src/style/var.less)>) below, for component less variables, please refer to the documentation of each component, or view the `var.less` file in the component source directory. ```less // Color Palette diff --git a/docs/markdown/theme.zh-CN.md b/docs/markdown/theme.zh-CN.md index 493423fc3..ce5d36100 100644 --- a/docs/markdown/theme.zh-CN.md +++ b/docs/markdown/theme.zh-CN.md @@ -12,7 +12,7 @@ Vant 提供了一套默认主题,CSS 命名采用 BEM 的风格,方便使用 Vant 使用了 [Less](http://lesscss.org/) 对样式进行预处理,并内置了一些样式变量,通过替换样式变量即可定制你自己需要的主题。 -下面是所有的基础样式变量,组件的颜色变量请参考各个组件的文档或[配置文件](https://github.com/youzan/vant/blob/dev/src/style/var.less)。 +下面是所有的[基础样式变量](https://github.com/youzan/vant/blob/dev/src/style/var.less),组件的样式变量请参考各个组件的文档,或查看组件源码目录下的 `var.less` 文件。 ```less // Color Palette