From d56b6046b1abd23ccc122b5e563d96ebb676e7fc Mon Sep 17 00:00:00 2001 From: dengfuping Date: Tue, 19 Nov 2024 20:51:13 +0800 Subject: [PATCH 1/2] improve(design): Empty title font-size 24px => 20px --- packages/design/src/empty/style/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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, From c3d2a3dc42da98b9fbaff77f13b908c8859016bf Mon Sep 17 00:00:00 2001 From: dengfuping Date: Tue, 19 Nov 2024 20:55:49 +0800 Subject: [PATCH 2/2] improve(design): Result title font-size 24px => 20px --- packages/design/src/result/style/index.ts | 2 ++ 1 file changed, 2 insertions(+) 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,