mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
style(Rate): update rate disabled color (#6253)
This commit is contained in:
parent
2c32abb0d5
commit
67716c65e3
@ -107,7 +107,7 @@ export default {
|
||||
| gutter | Icon gutter | _number \| string_ | `4px` |
|
||||
| color | Selected color | _string_ | `#ffd21e` |
|
||||
| void-color | Void color | _string_ | `#c8c9cc` |
|
||||
| disabled-color | Disabled color | _string_ | `#bdbdbd` |
|
||||
| disabled-color | Disabled color | _string_ | `#c8c9cc` |
|
||||
| icon | Selected icon | _string_ | `star` |
|
||||
| void-icon | Void icon | _string_ | `star-o` |
|
||||
| icon-prefix `v2.5.3` | Icon className prefix | _string_ | `van-icon` |
|
||||
|
@ -107,7 +107,7 @@ export default {
|
||||
| gutter | 图标间距,默认单位为`px` | _number \| string_ | `4px` |
|
||||
| color | 选中时的颜色 | _string_ | `#ffd21e` |
|
||||
| void-color | 未选中时的颜色 | _string_ | `#c8c9cc` |
|
||||
| disabled-color | 禁用时的颜色 | _string_ | `#bdbdbd` |
|
||||
| disabled-color | 禁用时的颜色 | _string_ | `#c8c9cc` |
|
||||
| icon | 选中时的[图标名称](#/zh-CN/icon)或图片链接 | _string_ | `star` |
|
||||
| void-icon | 未选中时的[图标名称](#/zh-CN/icon)或图片链接 | _string_ | `star-o` |
|
||||
| icon-prefix `v2.5.3` | 图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props) | _string_ | `van-icon` |
|
||||
|
@ -580,10 +580,10 @@
|
||||
|
||||
// Rate
|
||||
@rate-icon-size: 20px;
|
||||
@rate-icon-gutter: 4px;
|
||||
@rate-icon-gutter: @padding-base;
|
||||
@rate-icon-void-color: @gray-5;
|
||||
@rate-icon-full-color: #ffd21e;
|
||||
@rate-icon-disabled-color: #bdbdbd;
|
||||
@rate-icon-disabled-color: @gray-5;
|
||||
|
||||
// ShareSheet
|
||||
@share-sheet-header-padding: @padding-sm @padding-md @padding-base;
|
||||
|
Loading…
x
Reference in New Issue
Block a user