diff --git a/packages/design/src/empty/style/index.ts b/packages/design/src/empty/style/index.ts index 7123e84e2..146859312 100644 --- a/packages/design/src/empty/style/index.ts +++ b/packages/design/src/empty/style/index.ts @@ -20,20 +20,20 @@ export const genEmptyStyle: GenerateStyle = (token: EmptyToken): CSS [`${componentCls}-title`]: { color: token.colorText, fontWeight: token.fontWeightStrong, - fontSize: token.fontSizeHeading3, - lineHeight: token.lineHeightHeading3, + fontSize: token.fontSizeHeading4, + lineHeight: token.lineHeightHeading4, marginTop: token.marginLG, }, [`${componentCls}-description-content`]: { color: colorTextTertiary, maxWidth: 600, - marginTop: token.marginXS, margin: '0px auto', + marginTop: token.marginXS, }, [`${antCls}-steps`]: { maxWidth: 1000, margin: '0px auto', - marginTop: token.margin, + marginTop: token.marginLG, padding: token.paddingLG, backgroundColor: token.colorFillQuaternary, borderRadius: token.borderRadiusLG, diff --git a/packages/design/src/result/style/index.ts b/packages/design/src/result/style/index.ts index 7b2d24d8b..f072f6a4a 100644 --- a/packages/design/src/result/style/index.ts +++ b/packages/design/src/result/style/index.ts @@ -11,6 +11,8 @@ export const genResultStyle: GenerateStyle = (token: ResultToken): [`${componentCls}`]: { [`${componentCls}-title`]: { fontWeight: token.fontWeightStrong, + fontSize: token.fontSizeHeading4, + lineHeight: token.lineHeightHeading4, }, [`${componentCls}-subtitle`]: { maxWidth: 600,