mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs: update vars of custom theme (#8376)
This commit is contained in:
parent
e6e82918e6
commit
8643ffdb8d
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user