CreateDesignThemeRequest
Request to create a new design theme for document styling
Properties
| Name | Type | Description |
|---|---|---|
| name | string | Display name for the theme |
Display name for the theme | ||
| isDefault | boolean | Whether this should be the default theme for the tenant |
Whether this should be the default theme for the tenant | ||
| heading1 | FontSettingsDto | |
| heading2 | FontSettingsDto | |
| heading3 | FontSettingsDto | |
| body | FontSettingsDto | |
| tableHeader | FontSettingsDto | |
| tableCell | FontSettingsDto | |
| logoUrl | string | URL to the company logo image |
URL to the company logo image | ||
| primaryColor | string | Primary brand color in hex format (e.g., "#000000") |
Primary brand color in hex format (e.g., "#000000") | ||
| secondaryColor | string | Secondary brand color in hex format |
Secondary brand color in hex format | ||
| accentColor | string | Accent color in hex format |
Accent color in hex format | ||
| pageMargins | MarginsDto | |
| showPageNumbers | boolean | Whether to display page numbers on documents |
Whether to display page numbers on documents | ||
| headerTextContentBlockCode | string | Code of the content block to use for document headers |
Code of the content block to use for document headers | ||
| footerContentBlockCode | string | Code of the content block to use for document footers |
Code of the content block to use for document footers | ||
| footerRepeatOnEveryPage | boolean | 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
}
}