Theme
A theme bundles every reusable visual token: colors, type scale, spacing scale, corner radii, and a couple of pre-baked container styles (card, hr). Templates compose these without picking individual hex/size literals.
Interface Theme
interface ThemeA theme bundles every reusable visual token: colors, type scale, spacing scale, corner radii, and a couple of pre-baked container styles (card, hr). Templates compose these without picking individual hex/size literals.
Properties
bold
PDFFontThe bold font used by headings and emphasis.
card
BoxStyleReusable card container — padding + surface fill + border + radius.
colors
ThemeColorsfont
PDFFontThe base font (regular weight) used by body styles.
hr
{ color: RGB; thickness: number }Reusable thin divider — color + thickness.
Type Declaration
color
RGBthickness
numberitalic
PDFFontItalic font, used for editorial captions and emphasis where the theme calls for it.
mono
PDFFontOptional monospace font; some themes ship one, others leave it undefined.
radii
ThemeRadiispacing
ThemeSpacingtype
ThemeType