mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-23 01:45:05 +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,
|
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',
|
||||||
|
Loading…
Reference in New Issue
Block a user