Paperbase Docs

PB_THEME_INCOMPLETE

The render used the default Paperbase theme because no brand theme was configured.

Severitywarning
Categorydesign
Agent-repairableYes

What happened

No theme object was passed, so the render used Paperbase's generic default theme. The PDF was generated successfully, but it does not reflect your brand.

How to fix

Pass a theme object in your generate call. At minimum, provide logo_url and accent_color:

const result = await paperbase.pdf.generate({
  input: { type: "markdown", content: md },
  template: "report",
  theme: {
    logo_url: "https://cdn.example.com/logo.svg",
    accent_color: "#2563eb",
    primary_color: "#1a1a1a",
    body_font: "Inter",
  },
});

A complete theme raises the design-quality score and ensures the PDF reflects your brand. See API reference → Theme for the full schema.

On this page