Skip to main content

Interface: TypographyConfig

Defined in: shared/types/themeConfig.ts:519

Typography configuration interface.

Remarksโ€‹

Defines font families, sizes, weights, and line heights.

Propertiesโ€‹

fontFamilyโ€‹

fontFamily: { body: string; heading: string; mono: string; }

Defined in: shared/types/themeConfig.ts:521

Font family configuration

bodyโ€‹

body: string

headingโ€‹

heading: string

monoโ€‹

mono: string


fontSizeโ€‹

fontSize: { body: string; caption: string; h1: string; h2: string; h3: string; h4: string; h5: string; h6: string; large: string; small: string; }

Defined in: shared/types/themeConfig.ts:527

Font size configuration

bodyโ€‹

body: string

captionโ€‹

caption: string

h1โ€‹

h1: string

h2โ€‹

h2: string

h3โ€‹

h3: string

h4โ€‹

h4: string

h5โ€‹

h5: string

h6โ€‹

h6: string

largeโ€‹

large: string

smallโ€‹

small: string


fontWeightโ€‹

fontWeight: { bold: number; light: number; medium: number; normal: number; semibold: number; }

Defined in: shared/types/themeConfig.ts:540

Font weight configuration

boldโ€‹

bold: number

lightโ€‹

light: number

mediumโ€‹

medium: number

normalโ€‹

normal: number

semiboldโ€‹

semibold: number


lineHeightโ€‹

lineHeight: { body: string; heading: string; tight: string; }

Defined in: shared/types/themeConfig.ts:548

Line height configuration

bodyโ€‹

body: string

headingโ€‹

heading: string

tightโ€‹

tight: string