mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
style(Empty): fix text color in dark theme (#40584)
This commit is contained in:
parent
b9de155fdf
commit
e5c4bbc693
@ -39,6 +39,10 @@ const genSharedEmptyStyle: GenerateStyle<EmptyToken> = (token): CSSObject => {
|
||||
},
|
||||
},
|
||||
|
||||
[`${componentCls}-description`]: {
|
||||
color: token.colorText,
|
||||
},
|
||||
|
||||
// 原来 &-footer 没有父子结构,现在为了外层承担我们的hashId,改成父子结果
|
||||
[`${componentCls}-footer`]: {
|
||||
marginTop: margin,
|
||||
@ -48,6 +52,10 @@ const genSharedEmptyStyle: GenerateStyle<EmptyToken> = (token): CSSObject => {
|
||||
marginBlock: marginXL,
|
||||
color: token.colorTextDisabled,
|
||||
|
||||
[`${componentCls}-description`]: {
|
||||
color: token.colorTextDisabled,
|
||||
},
|
||||
|
||||
[`${componentCls}-image`]: {
|
||||
height: token.emptyImgHeightMD,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user