chore: adjust desc style (#40085)

This commit is contained in:
二货爱吃白萝卜 2023-01-08 13:25:32 +08:00 committed by GitHub
parent 73d0a9bc30
commit 49b9ba77d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,7 @@ const genBorderedStyle = (token: DescriptionsToken): CSSObject => {
},
},
[`${componentCls}-item-label`]: {
color: token.colorTextSecondary,
backgroundColor: descriptionsBg,
'&::after': {
display: 'none',
@ -116,7 +117,7 @@ const genDescriptionStyles: GenerateStyle<DescriptionsToken> = (token: Descripti
},
},
[`${componentCls}-item-label`]: {
color: token.colorText,
color: token.colorTextTertiary,
fontWeight: 'normal',
fontSize: token.fontSize,
lineHeight: token.lineHeight,