diff --git a/components/button/style/index.tsx b/components/button/style/index.tsx index e6d52e9a8de4..077e7ec35f35 100644 --- a/components/button/style/index.tsx +++ b/components/button/style/index.tsx @@ -210,7 +210,7 @@ const genDefaultButtonStyle: GenerateStyle = (token) => ...genHoverActiveButtonStyle( { color: token.colorErrorHover, - borderColor: token.colorErrorBorder, + borderColor: token.colorErrorBorderHover, }, { color: token.colorErrorActive, diff --git a/components/theme/themes/seed.ts b/components/theme/themes/seed.ts index b7f06d55f648..032bded2b731 100644 --- a/components/theme/themes/seed.ts +++ b/components/theme/themes/seed.ts @@ -24,7 +24,7 @@ const seedToken: SeedToken = { colorPrimary: '#1677ff', colorSuccess: '#52c41a', colorWarning: '#faad14', - colorError: '#f5222d', + colorError: '#ff4d4f', colorInfo: '#1677ff', colorTextBase: '', diff --git a/components/theme/themes/shared/genColorMapToken.ts b/components/theme/themes/shared/genColorMapToken.ts index 716e518aef37..a8ae0b56858c 100644 --- a/components/theme/themes/shared/genColorMapToken.ts +++ b/components/theme/themes/shared/genColorMapToken.ts @@ -57,8 +57,8 @@ export default function genColorMapToken( colorErrorBgHover: errorColors[2], colorErrorBorder: errorColors[3], colorErrorBorderHover: errorColors[4], - colorErrorHover: errorColors[4], - colorError: errorColors[5], + colorErrorHover: errorColors[5], + colorError: errorColors[6], colorErrorActive: errorColors[7], colorErrorTextHover: errorColors[8], colorErrorText: errorColors[9], diff --git a/docs/react/customize-theme.en-US.md b/docs/react/customize-theme.en-US.md index 49c1cb63c8f7..af679df45a50 100644 --- a/docs/react/customize-theme.en-US.md +++ b/docs/react/customize-theme.en-US.md @@ -323,7 +323,7 @@ export default () => { | colorPrimary | 品牌主色 | `string` | `#1677ff` | | colorSuccess | 成功色 | `string` | `#52c41a` | | colorWarning | 警戒色 | `string` | `#faad14` | -| colorError | 错误色 | `string` | `#f5222d` | +| colorError | 错误色 | `string` | `#ff4d4f` | | colorInfo | 信息色 | `string` | `#1677ff` | | colorTextBase | 基础文本色 | `string` | `#000` | | colorTextLightSolid | 亮色文本色 | `string` | `#fff` | diff --git a/docs/react/customize-theme.zh-CN.md b/docs/react/customize-theme.zh-CN.md index 2f71857b69e0..c9c64d26f102 100644 --- a/docs/react/customize-theme.zh-CN.md +++ b/docs/react/customize-theme.zh-CN.md @@ -323,7 +323,7 @@ export default () => { | colorPrimary | 品牌主色 | `string` | `#1677ff` | | colorSuccess | 成功色 | `string` | `#52c41a` | | colorWarning | 警戒色 | `string` | `#faad14` | -| colorError | 错误色 | `string` | `#f5222d` | +| colorError | 错误色 | `string` | `#ff4d4f` | | colorInfo | 信息色 | `string` | `#1677ff` | | colorTextBase | 基础文本色 | `string` | `#000` | | colorTextLightSolid | 亮色文本色 | `string` | `#fff` |