feat(Field): increase default icon size to 18px (#11799)

This commit is contained in:
neverland 2023-05-02 10:24:11 +08:00 committed by GitHub
parent 064f675df8
commit f9cd6b979f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -404,8 +404,8 @@ The component provides the following CSS variables, which can be used to customi
| --van-field-input-error-text-color | _var(--van-danger-color)_ | - |
| --van-field-input-disabled-text-color | _var(--van-text-color-3)_ | - |
| --van-field-placeholder-text-color | _var(--van-text-color-3)_ | - |
| --van-field-icon-size | _16px_ | - |
| --van-field-clear-icon-size | _16px_ | - |
| --van-field-icon-size | _18px_ | - |
| --van-field-clear-icon-size | _18px_ | - |
| --van-field-clear-icon-color | _var(--van-gray-5)_ | - |
| --van-field-right-icon-color | _var(--van-gray-6)_ | - |
| --van-field-error-message-color | _var(--van-danger-color)_ | - |

View File

@ -423,8 +423,8 @@ fieldRef.value?.focus();
| --van-field-input-error-text-color | _var(--van-danger-color)_ | - |
| --van-field-input-disabled-text-color | _var(--van-text-color-3)_ | - |
| --van-field-placeholder-text-color | _var(--van-text-color-3)_ | - |
| --van-field-icon-size | _16px_ | - |
| --van-field-clear-icon-size | _16px_ | - |
| --van-field-icon-size | _18px_ | - |
| --van-field-clear-icon-size | _18px_ | - |
| --van-field-clear-icon-color | _var(--van-gray-5)_ | - |
| --van-field-right-icon-color | _var(--van-gray-6)_ | - |
| --van-field-error-message-color | _var(--van-danger-color)_ | - |

View File

@ -6,8 +6,8 @@
--van-field-input-error-text-color: var(--van-danger-color);
--van-field-input-disabled-text-color: var(--van-text-color-3);
--van-field-placeholder-text-color: var(--van-text-color-3);
--van-field-icon-size: 16px;
--van-field-clear-icon-size: 16px;
--van-field-icon-size: 18px;
--van-field-clear-icon-size: 18px;
--van-field-clear-icon-color: var(--van-gray-5);
--van-field-right-icon-color: var(--van-gray-6);
--van-field-error-message-color: var(--van-danger-color);