style(Rate): update rate disabled color (#6253)
This commit is contained in:
+1
-1
@@ -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` |
|
||||
|
||||
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user