API Docs / Schemas / DesignThemeDto

DesignThemeDto

Complete visual styling and branding configuration for generated documents (proposals, engagement letters, reports, etc.).
Defines typography, colors, layout, headers, footers, and custom CSS to ensure consistent professional branding.
Design themes can be applied to document templates to control the appearance of generated PDFs and HTML documents.

Properties

Name Type Description
codestring

Unique identifier for the design theme

Unique identifier for the design theme

namestring

Display name for the theme (e.g., "Professional Blue", "Corporate Standard")

Display name for the theme (e.g., "Professional Blue", "Corporate Standard")

isDefaultboolean

Whether this is the default theme for the tenant. Only one theme per tenant should be marked as default.

Whether this is the default theme for the tenant. Only one theme per tenant should be marked as default.

heading1FontSettingsDto
heading2FontSettingsDto
heading3FontSettingsDto
bodyFontSettingsDto
tableHeaderFontSettingsDto
tableCellFontSettingsDto
logoUrlstring

URL to the company logo image (used in document headers)

URL to the company logo image (used in document headers)

primaryColorstring

Primary brand color in hex format (used for main headings and borders)

Primary brand color in hex format (used for main headings and borders)

secondaryColorstring

Secondary brand color in hex format (used for subheadings)

Secondary brand color in hex format (used for subheadings)

accentColorstring

Accent color in hex format (used for highlights and calls to action)

Accent color in hex format (used for highlights and calls to action)

pageMarginsMarginsDto
showPageNumbersboolean

Whether to display page numbers at the bottom of document pages

Whether to display page numbers at the bottom of document pages

headerTextContentBlockCodeAndNameDto
footerContentBlockCodeAndNameDto
footerRepeatOnEveryPageboolean

Whether the footer should appear on every page or just the last page

Whether the footer should appear on every page or just the last page

customCSSstring

Additional custom CSS rules for advanced styling beyond the standard options

Additional custom CSS rules for advanced styling beyond the standard options

createdDatestring

When this theme was created

When this theme was created

updatedDatestring

When this theme was last updated

When this theme was last updated

JSON Example

{
  "code": "string",
  "name": "string",
  "isDefault": false,
  "heading1": {
    "fontFamily": "string",
    "fontSize": 0,
    "color": "string",
    "bold": false,
    "italic": false
  },
  "heading2": {
    "fontFamily": "string",
    "fontSize": 0,
    "color": "string",
    "bold": false,
    "italic": false
  }
}

Used By Operations

Contained in Schemas