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)

backgroundColorstring

Optional page background color in hex format. When null, no background-color is applied.

Optional page background color in hex format. When null, no background-color is applied.

linkColorstring

Optional link color in hex format. When null, links inherit default text color.

Optional link color in hex format. When null, links inherit default text color.

linkHoverColorstring

Optional link hover color in hex format. When null, no hover color change.

Optional link hover color in hex format. When null, no hover color change.

primaryButtonButtonStyleDto
secondaryButtonButtonStyleDto
navBackgroundColorstring

Navigation background color for the client portal (e.g., "#1e293b")

Navigation background color for the client portal (e.g., "#1e293b")

navTextColorstring

Navigation text color for the client portal

Navigation text color for the client portal

navActiveBackgroundColorstring

Active navigation item highlight color (supports rgba, e.g., "rgba(255,255,255,0.15)")

Active navigation item highlight color (supports rgba, e.g., "rgba(255,255,255,0.15)")

navActiveTextColorstring

Active navigation item text color

Active navigation item text color

cardBackgroundColorstring

Card/panel background color in the content area

Card/panel background color in the content area

borderRadiusinteger

Global corner radius in pixels for cards, buttons, and inputs

Global corner radius in pixels for cards, buttons, and inputs

navFontSizenumber

Font size in points for the client portal navigation bar. Null falls back to body font size.

Font size in points for the client portal navigation bar. Null falls back to body font size.

faviconUrlstring

URL to a tenant-specific favicon for the client portal

URL to a tenant-specific favicon for the client portal

pageMarginsMarginsDto
headerTextContentBlockCodeAndNameDto
footerContentBlockCodeAndNameDto
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": "...",
    "fontSize": 0,
    "color": "string",
    "bold": false,
    "italic": false
  },
  "heading2": {
    "fontFamily": "...",
    "fontSize": 0,
    "color": "string",
    "bold": false,
    "italic": false
  }
}

Used By Operations

Contained in Schemas