diff --git a/src/field/README.md b/src/field/README.md index 3d9a5c7dd..fc61374db 100644 --- a/src/field/README.md +++ b/src/field/README.md @@ -307,7 +307,7 @@ How to use: [Custom Theme](#/en-US/theme). | @field-clear-icon-color | `@gray-5` | - | | @field-right-icon-color | `@gray-6` | - | | @field-error-message-color | `@red` | - | -| @field-error-message-text-color | `12px` | - | +| @field-error-message-font-size | `12px` | - | | @field-text-area-min-height | `60px` | - | | @field-word-limit-color | `@gray-7` | - | | @field-word-limit-font-size | `@font-size-sm` | - | diff --git a/src/field/README.zh-CN.md b/src/field/README.zh-CN.md index c8188420d..c8bb86203 100644 --- a/src/field/README.zh-CN.md +++ b/src/field/README.zh-CN.md @@ -332,7 +332,7 @@ export default { | @field-clear-icon-color | `@gray-5` | - | | @field-right-icon-color | `@gray-6` | - | | @field-error-message-color | `@red` | - | -| @field-error-message-text-color | `12px` | - | +| @field-error-message-font-size | `12px` | - | | @field-text-area-min-height | `60px` | - | | @field-word-limit-color | `@gray-7` | - | | @field-word-limit-font-size | `@font-size-sm` | - | diff --git a/src/field/index.less b/src/field/index.less index 62e01c397..114f37677 100644 --- a/src/field/index.less +++ b/src/field/index.less @@ -134,7 +134,7 @@ &__error-message { color: @field-error-message-color; - font-size: @field-error-message-text-color; + font-size: @field-error-message-font-size; text-align: left; &--center { diff --git a/src/style/var.less b/src/style/var.less index c814924af..01ada7798 100644 --- a/src/style/var.less +++ b/src/style/var.less @@ -397,7 +397,7 @@ @field-clear-icon-color: @gray-5; @field-right-icon-color: @gray-6; @field-error-message-color: @red; -@field-error-message-text-color: 12px; +@field-error-message-font-size: 12px; @field-text-area-min-height: 60px; @field-word-limit-color: @gray-7; @field-word-limit-font-size: @font-size-sm;