Skip to content

Commit

Permalink
style: Use description color instead of disabled in Empty (ant-design…
Browse files Browse the repository at this point in the history
…#47268)

Signed-off-by: evgmol <146968816+evgmol@users.noreply.github.com>
  • Loading branch information
evgmol authored and tanzhenyun committed Mar 29, 2024
1 parent 5ab7596 commit 3b8f0a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/empty/style/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ const genSharedEmptyStyle: GenerateStyle<EmptyToken> = (token): CSSObject => {

'&-normal': {
marginBlock: marginXL,
color: token.colorTextDisabled,
color: token.colorTextDescription,

[`${componentCls}-description`]: {
color: token.colorTextDisabled,
color: token.colorTextDescription,
},

[`${componentCls}-image`]: {
Expand All @@ -64,7 +64,7 @@ const genSharedEmptyStyle: GenerateStyle<EmptyToken> = (token): CSSObject => {

'&-small': {
marginBlock: marginXS,
color: token.colorTextDisabled,
color: token.colorTextDescription,

[`${componentCls}-image`]: {
height: token.emptyImgHeightSM,
Expand Down

0 comments on commit 3b8f0a7

Please sign in to comment.