diff --git a/packages/design/src/result/style/index.ts b/packages/design/src/result/style/index.ts index 366a76efe..0b845228c 100644 --- a/packages/design/src/result/style/index.ts +++ b/packages/design/src/result/style/index.ts @@ -1,6 +1,7 @@ import type { CSSObject } from '@ant-design/cssinjs'; import type { FullToken, GenerateStyle } from 'antd/es/theme/internal'; import { genComponentStyleHook } from '../../_util/genComponentStyleHook'; +import { genLargeStyle } from '../../_util/genStyle'; export type ResultToken = FullToken<'Result'>; @@ -8,6 +9,12 @@ export const genResultStyle: GenerateStyle = (token: ResultToken): const { componentCls } = token; return { [`${componentCls}`]: { + [`${componentCls}-title`]: { + fontWeight: token.fontWeightStrong, + }, + [`${componentCls}-extra`]: { + ...genLargeStyle(token), + }, [`${componentCls}-content`]: { padding: token.paddingLG, borderRadius: token.borderRadiusLG,