cleanTheme
Function cleanTheme
cleanTheme(fonts: ThemeFonts): ThemeA modern, monochrome theme inspired by the Stripe / Linear / Notion aesthetic. Body type is comfortable, headings have weight without shouting, surfaces are near-white, and borders are gentle.
Pass your own embedded fonts so the theme works in any runtime — the library doesn't ship a default TTF on purpose (keeps bundle size honest).
Parameters
-
fonts: ThemeFonts
Returns Theme
cleanTheme(font: PDFFont, bold: PDFFont): ThemeA modern, monochrome theme inspired by the Stripe / Linear / Notion aesthetic. Body type is comfortable, headings have weight without shouting, surfaces are near-white, and borders are gentle.
Pass your own embedded fonts so the theme works in any runtime — the library doesn't ship a default TTF on purpose (keeps bundle size honest).
Parameters
-
font: PDFFont -
bold: PDFFont
Returns Theme