docs: update source file link (#9385)

This commit is contained in:
neverland 2021-09-03 11:41:22 +08:00 committed by GitHub
parent 983cceb170
commit 3a53fa3aed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ Vant use [Less](http://lesscss.org/) as css preprocessoryou can override the
### Less variables ### 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 below, all available variables could be found in [var.less](https://github.com/youzan/vant/blob/2.x/src/style/var.less)。
```less ```less
// Color Palette // Color Palette

View File

@ -12,7 +12,7 @@ Vant 提供了一套默认主题CSS 命名采用 BEM 的风格,方便使用
Vant 使用了 [Less](http://lesscss.org/) 对样式进行预处理,并内置了一些样式变量,通过替换样式变量即可定制你自己需要的主题。 Vant 使用了 [Less](http://lesscss.org/) 对样式进行预处理,并内置了一些样式变量,通过替换样式变量即可定制你自己需要的主题。
下面是所有的基础样式变量,组件的颜色变量请参考各个组件的文档或[配置文件](https://github.com/youzan/vant/blob/dev/src/style/var.less)。 下面是所有的基础样式变量,组件的颜色变量请参考各个组件的文档或[配置文件](https://github.com/youzan/vant/blob/2.x/src/style/var.less)。
```less ```less
// Color Palette // Color Palette

View File

@ -55,7 +55,7 @@ Current supported languages:
| Thai | th-TH | | Thai | th-TH |
| French | fr-FR | | French | fr-FR |
> View all language configs [Here](https://github.com/youzan/vant/tree/dev/src/locale/lang). > View all language configs [Here](https://github.com/youzan/vant/tree/2.x/src/locale/lang).
### Add new language ### Add new language

View File

@ -56,7 +56,7 @@ Locale.add(messages);
| 泰语 | th-TH | | 泰语 | th-TH |
| 法语 | fr-FR | | 法语 | fr-FR |
> 在 [这里](https://github.com/youzan/vant/tree/dev/src/locale/lang) 查看所有的语言包源文件。 > 在 [这里](https://github.com/youzan/vant/tree/2.x/src/locale/lang) 查看所有的语言包源文件。
## 常见问题 ## 常见问题