API Docs / Schemas / CreateDesignThemeRequest

CreateDesignThemeRequest

Request to create a new design theme for document styling

Properties

Name Type Description
namestring

Display name for the theme

Display name for the theme

isDefaultboolean

Whether this should be the default theme for the tenant

Whether this should be the default theme for the tenant

heading1FontSettingsDto
heading2FontSettingsDto
heading3FontSettingsDto
bodyFontSettingsDto
tableHeaderFontSettingsDto
tableCellFontSettingsDto
logoUrlstring

URL to the company logo image

URL to the company logo image

primaryColorstring

Primary brand color in hex format (e.g., "#000000")

Primary brand color in hex format (e.g., "#000000")

secondaryColorstring

Secondary brand color in hex format

Secondary brand color in hex format

accentColorstring

Accent color in hex format

Accent color in hex format

pageMarginsMarginsDto
showPageNumbersboolean

Whether to display page numbers on documents

Whether to display page numbers on documents

headerTextContentBlockCodestring

Code of the content block to use for document headers

Code of the content block to use for document headers

footerContentBlockCodestring

Code of the content block to use for document footers

Code of the content block to use for document footers

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

JSON Example

{
  "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
  },
  "heading3": {
    "fontFamily": "string",
    "fontSize": 0,
    "color": "string",
    "bold": false,
    "italic": false
  }
}

Used By Operations