docs: update component CSS variable names (#8857)

This commit is contained in:
neverland
2021-06-14 10:23:47 +08:00
committed by GitHub
parent 34a3fe8787
commit 8e3833acc8
122 changed files with 1755 additions and 1755 deletions
+16 -16
View File
@@ -119,20 +119,20 @@ export default {
### 样式变量
组件提供了下列 Less 变量,可用于自定义样式,使用方法请参考[主题定制](#/zh-CN/theme)。
组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。
| 名称 | 默认值 | 描述 |
| ------------------------------------- | ------------------- | ---- |
| @index-bar-sidebar-z-index | `2` | - |
| @index-bar-index-font-size | `@font-size-xs` | - |
| @index-bar-index-line-height | `@line-height-xs` | - |
| @index-bar-index-active-color | `@red` | - |
| @index-anchor-z-index | `1` | - |
| @index-anchor-padding | `0 @padding-md` | - |
| @index-anchor-text-color | `@text-color` | - |
| @index-anchor-font-weight | `@font-weight-bold` | - |
| @index-anchor-font-size | `@font-size-md` | - |
| @index-anchor-line-height | `32px` | - |
| @index-anchor-background-color | `transparent` | - |
| @index-anchor-sticky-text-color | `@red` | - |
| @index-anchor-sticky-background-color | `@white` | - |
| 名称 | 默认值 | 描述 |
| ------------------------------------------ | ------------------- | ---- |
| --van-index-bar-sidebar-z-index | `2` | - |
| --van-index-bar-index-font-size | `@font-size-xs` | - |
| --van-index-bar-index-line-height | `@line-height-xs` | - |
| --van-index-bar-index-active-color | `@red` | - |
| --van-index-anchor-z-index | `1` | - |
| --van-index-anchor-padding | `0 @padding-md` | - |
| --van-index-anchor-text-color | `@text-color` | - |
| --van-index-anchor-font-weight | `@font-weight-bold` | - |
| --van-index-anchor-font-size | `@font-size-md` | - |
| --van-index-anchor-line-height | `32px` | - |
| --van-index-anchor-background-color | `transparent` | - |
| --van-index-anchor-sticky-text-color | `@red` | - |
| --van-index-anchor-sticky-background-color | `@white` | - |