From 1c79b48efe77f233db83e4127f84da313b84acc6 Mon Sep 17 00:00:00 2001 From: Wei Xie Date: Mon, 13 Nov 2023 16:53:29 +0800 Subject: [PATCH] fix: the style of form-item-warning --- packages/components/src/form-item/style/other.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/components/src/form-item/style/other.tsx b/packages/components/src/form-item/style/other.tsx index 0efdc88..4994bcf 100644 --- a/packages/components/src/form-item/style/other.tsx +++ b/packages/components/src/form-item/style/other.tsx @@ -103,7 +103,7 @@ export const genOtherStyle: GenerateStyle = (token) => { ${antCls}-input-affix-wrapper, ${antCls}-input-affix-wrapper, ${antCls}-input`]: { - borderColor: colorSuccess, + borderColor: colorWarning, }, [`${antCls}-select-selector, @@ -114,14 +114,14 @@ export const genOtherStyle: GenerateStyle = (token) => { ${antCls}-input-affix-wrapper, ${antCls}-input-affix-wrapper:hover, ${antCls}-input:hover`]: { - borderColor: colorSuccess, + borderColor: colorWarning, }, [`${antCls}-select:not(${antCls}-select-disabled):not(${antCls}-select-customize-input)`]: { [`${antCls}-select-selector`]: { backgroundColor: colorWarningBg, - borderColor: colorSuccess, + borderColor: colorWarning, }, [`&${antCls}-select-open ${antCls}-select-selector,