mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-22 17:13:27 +08:00
style: add disable style for inverse tag
This commit is contained in:
parent
a5034e1fc1
commit
21ae100240
@ -15,6 +15,12 @@ const genPresetStyle = (token: TagToken) =>
|
||||
color: token.colorTextLightSolid,
|
||||
background: darkColor,
|
||||
borderColor: darkColor,
|
||||
|
||||
[`&${token.componentCls}-disabled`]: {
|
||||
color: token.colorTextDisabled,
|
||||
backgroundColor: token.colorBgContainerDisabled,
|
||||
borderColor: token.borderColorDisabled,
|
||||
},
|
||||
},
|
||||
[`&${token.componentCls}-borderless`]: {
|
||||
borderColor: 'transparent',
|
||||
|
Loading…
Reference in New Issue
Block a user