diff --git a/packages/vant/src/field/README.md b/packages/vant/src/field/README.md index 829461c5c..ed5d2ee5e 100644 --- a/packages/vant/src/field/README.md +++ b/packages/vant/src/field/README.md @@ -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)_ | - | diff --git a/packages/vant/src/field/README.zh-CN.md b/packages/vant/src/field/README.zh-CN.md index aa1c9a49c..c4943c08e 100644 --- a/packages/vant/src/field/README.zh-CN.md +++ b/packages/vant/src/field/README.zh-CN.md @@ -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)_ | - | diff --git a/packages/vant/src/field/index.less b/packages/vant/src/field/index.less index 7c275e968..8d6aeeb39 100644 --- a/packages/vant/src/field/index.less +++ b/packages/vant/src/field/index.less @@ -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);