mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(Radio): add document description for the css var '--van-radio-dot-size' (#12152)
* docs(Radio): add document description for the css var '--van-radio-dot-size' * chore: update * Update README.md --------- Co-authored-by: neverland <jait.chen@foxmail.com>
This commit is contained in:
parent
86d17359a3
commit
afeef70429
@ -238,15 +238,15 @@ import type {
|
||||
|
||||
The component provides the following CSS variables, which can be used to customize styles. Please refer to [ConfigProvider component](#/en-US/config-provider).
|
||||
|
||||
| Name | Default Value | Description |
|
||||
| -------------------------------- | -------------------------- | ----------- |
|
||||
| --van-radio-size | _20px_ | - |
|
||||
| --van-radio-dot-size | _8px_ | - |
|
||||
| --van-radio-border-color | _var(--van-gray-5)_ | - |
|
||||
| --van-radio-duration | _var(--van-duration-fast)_ | - |
|
||||
| --van-radio-label-margin | _var(--van-padding-xs)_ | - |
|
||||
| --van-radio-label-color | _var(--van-text-color)_ | - |
|
||||
| --van-radio-checked-icon-color | _var(--van-primary-color)_ | - |
|
||||
| --van-radio-disabled-icon-color | _var(--van-gray-5)_ | - |
|
||||
| --van-radio-disabled-label-color | _var(--van-text-color-3)_ | - |
|
||||
| --van-radio-disabled-background | _var(--van-border-color)_ | - |
|
||||
| Name | Default Value | Description |
|
||||
| --- | --- | --- |
|
||||
| --van-radio-size | _20px_ | - |
|
||||
| --van-radio-dot-size | _8px_ | The distance between the dot and the border |
|
||||
| --van-radio-border-color | _var(--van-gray-5)_ | - |
|
||||
| --van-radio-duration | _var(--van-duration-fast)_ | - |
|
||||
| --van-radio-label-margin | _var(--van-padding-xs)_ | - |
|
||||
| --van-radio-label-color | _var(--van-text-color)_ | - |
|
||||
| --van-radio-checked-icon-color | _var(--van-primary-color)_ | - |
|
||||
| --van-radio-disabled-icon-color | _var(--van-gray-5)_ | - |
|
||||
| --van-radio-disabled-label-color | _var(--van-text-color-3)_ | - |
|
||||
| --van-radio-disabled-background | _var(--van-border-color)_ | - |
|
||||
|
@ -252,15 +252,15 @@ import type {
|
||||
|
||||
组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。
|
||||
|
||||
| 名称 | 默认值 | 描述 |
|
||||
| -------------------------------- | -------------------------- | ---- |
|
||||
| --van-radio-size | _20px_ | - |
|
||||
| --van-radio-dot-size | _8px_ | - |
|
||||
| --van-radio-border-color | _var(--van-gray-5)_ | - |
|
||||
| --van-radio-duration | _var(--van-duration-fast)_ | - |
|
||||
| --van-radio-label-margin | _var(--van-padding-xs)_ | - |
|
||||
| --van-radio-label-color | _var(--van-text-color)_ | - |
|
||||
| --van-radio-checked-icon-color | _var(--van-primary-color)_ | - |
|
||||
| --van-radio-disabled-icon-color | _var(--van-gray-5)_ | - |
|
||||
| --van-radio-disabled-label-color | _var(--van-text-color-3)_ | - |
|
||||
| --van-radio-disabled-background | _var(--van-border-color)_ | - |
|
||||
| 名称 | 默认值 | 描述 |
|
||||
| --- | --- | --- |
|
||||
| --van-radio-size | _20px_ | - |
|
||||
| --van-radio-dot-size | _8px_ | 圆点到边界的距离 |
|
||||
| --van-radio-border-color | _var(--van-gray-5)_ | - |
|
||||
| --van-radio-duration | _var(--van-duration-fast)_ | - |
|
||||
| --van-radio-label-margin | _var(--van-padding-xs)_ | - |
|
||||
| --van-radio-label-color | _var(--van-text-color)_ | - |
|
||||
| --van-radio-checked-icon-color | _var(--van-primary-color)_ | - |
|
||||
| --van-radio-disabled-icon-color | _var(--van-gray-5)_ | - |
|
||||
| --van-radio-disabled-label-color | _var(--van-text-color-3)_ | - |
|
||||
| --van-radio-disabled-background | _var(--van-border-color)_ | - |
|
||||
|
Loading…
x
Reference in New Issue
Block a user