mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 05:42:44 +08:00
fix(FIeld): field-error-message-font-size var name (#9394)
This commit is contained in:
parent
d4d5e2bc67
commit
bc9b01c48b
@ -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)_ | - |
|
||||
|
@ -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)_ | - |
|
||||
|
@ -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 {
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user