style: add disable style for inverse tag

This commit is contained in:
小豪 2025-01-04 16:24:21 +08:00
parent a5034e1fc1
commit 21ae100240

View File

@ -15,6 +15,12 @@ const genPresetStyle = (token: TagToken) =>
color: token.colorTextLightSolid, color: token.colorTextLightSolid,
background: darkColor, background: darkColor,
borderColor: darkColor, borderColor: darkColor,
[`&${token.componentCls}-disabled`]: {
color: token.colorTextDisabled,
backgroundColor: token.colorBgContainerDisabled,
borderColor: token.borderColorDisabled,
},
}, },
[`&${token.componentCls}-borderless`]: { [`&${token.componentCls}-borderless`]: {
borderColor: 'transparent', borderColor: 'transparent',