ThemePostRendererResource

constructor(theme: DocumentTheme, locale: Locale?)

Parameters

theme

the document theme specifying color and layout preferences

locale

the optional locale for locale-specific styling (e.g., Chinese typefaces)