fix(FIeld): field-error-message-font-size var name (#9394)

This commit is contained in:
neverland 2021-09-03 15:26:17 +08:00 committed by GitHub
parent d4d5e2bc67
commit bc9b01c48b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -367,7 +367,7 @@ The component provides the following CSS variables, which can be used to customi
| --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)_ | - |
| --van-field-error-message-text-color | _12px_ | - |
| --van-field-error-message-font-size | _12px_ | - |
| --van-field-text-area-min-height | _60px_ | - |
| --van-field-word-limit-color | _var(--van-gray-7)_ | - |
| --van-field-word-limit-font-size | _var(--van-font-size-sm)_ | - |

View File

@ -386,7 +386,7 @@ fieldRef.value?.focus();
| --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)_ | - |
| --van-field-error-message-text-color | _12px_ | - |
| --van-field-error-message-font-size | _12px_ | - |
| --van-field-text-area-min-height | _60px_ | - |
| --van-field-word-limit-color | _var(--van-gray-7)_ | - |
| --van-field-word-limit-font-size | _var(--van-font-size-sm)_ | - |

View File

@ -14,7 +14,7 @@
--van-field-clear-icon-color: @field-clear-icon-color;
--van-field-right-icon-color: @field-right-icon-color;
--van-field-error-message-color: @field-error-message-color;
--van-field-error-message-text-color: @field-error-message-text-color;
--van-field-error-message-font-size: @field-error-message-font-size;
--van-field-text-area-min-height: @field-text-area-min-height;
--van-field-word-limit-color: @field-word-limit-color;
--van-field-word-limit-font-size: @field-word-limit-font-size;
@ -175,7 +175,7 @@
&__error-message {
color: var(--van-field-error-message-color);
font-size: var(--van-field-error-message-text-color);
font-size: var(--van-field-error-message-font-size);
text-align: left;
&--center {

View File

@ -12,7 +12,7 @@
@field-clear-icon-color: var(--van-gray-5);
@field-right-icon-color: var(--van-gray-6);
@field-error-message-color: var(--van-danger-color);
@field-error-message-text-color: 12px;
@field-error-message-font-size: 12px;
@field-text-area-min-height: 60px;
@field-word-limit-color: var(--van-gray-7);
@field-word-limit-font-size: var(--van-font-size-sm);