style(Empty): fix text color in dark theme (#40584)

This commit is contained in:
muxin 2023-02-07 12:22:44 +08:00 committed by GitHub
parent b9de155fdf
commit e5c4bbc693
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
},