mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-12 04:13:13 +08:00
fix: input hoverBg token (#46946)
This commit is contained in:
parent
23c8e4af24
commit
2c4e367543
@ -123,6 +123,7 @@ export const initComponentToken = (token: AliasToken): SharedComponentToken => {
|
||||
controlOutline,
|
||||
colorErrorOutline,
|
||||
colorWarningOutline,
|
||||
colorBgContainer,
|
||||
} = token;
|
||||
|
||||
return {
|
||||
@ -145,8 +146,8 @@ export const initComponentToken = (token: AliasToken): SharedComponentToken => {
|
||||
activeShadow: `0 0 0 ${controlOutlineWidth}px ${controlOutline}`,
|
||||
errorActiveShadow: `0 0 0 ${controlOutlineWidth}px ${colorErrorOutline}`,
|
||||
warningActiveShadow: `0 0 0 ${controlOutlineWidth}px ${colorWarningOutline}`,
|
||||
hoverBg: '',
|
||||
activeBg: '',
|
||||
hoverBg: colorBgContainer,
|
||||
activeBg: colorBgContainer,
|
||||
inputFontSize: fontSize,
|
||||
inputFontSizeLG: fontSizeLG,
|
||||
inputFontSizeSM: fontSize,
|
||||
|
Loading…
Reference in New Issue
Block a user