Skip to content

@shbernal/pptxgenjs


@shbernal/pptxgenjs / index / ThemeProps

Interface: ThemeProps

Defined in: core-interfaces.ts:894

Properties

bodyFontFace?

optional bodyFontFace?: string

Defined in: core-interfaces.ts:906

Body font face name

Example

ts
'Arial'

Default

ts
'Calibri'

bodyFontFaceCS?

optional bodyFontFaceCS?: string

Defined in: core-interfaces.ts:934

Body complex-script font face — theme <a:cs> slot of the minor font. Used for complex scripts such as Arabic, Hebrew, Thai, and Devanagari.

  • leave unset to keep PowerPoint's empty default (auto-resolved per script)

Example

ts
'Arial'

bodyFontFaceEA?

optional bodyFontFaceEA?: string

Defined in: core-interfaces.ts:920

Body East Asian font face — theme <a:ea> slot of the minor font. Used for CJK (Chinese/Japanese/Korean) runs that fall back to the theme font.

  • leave unset to keep PowerPoint's empty default (auto-resolved per script)

Example

ts
'Yu Gothic'

colorScheme?

optional colorScheme?: ThemeColorScheme

Defined in: core-interfaces.ts:941

Theme color scheme overrides written to ppt/theme/theme1.xml.

  • any unset slot keeps its default Office value
  • references such as pptx.SchemeColor.accent1 resolve against these values

Example

ts
{ accent1: 'C00000', accent2: '00B050', hlink: '0070C0' }

headFontFace?

optional headFontFace?: string

Defined in: core-interfaces.ts:900

Headings font face name

Example

ts
'Arial Narrow'

Default

ts
'Calibri Light'

headFontFaceCS?

optional headFontFaceCS?: string

Defined in: core-interfaces.ts:927

Headings complex-script font face — theme <a:cs> slot of the major font. Used for complex scripts such as Arabic, Hebrew, Thai, and Devanagari.

  • leave unset to keep PowerPoint's empty default (auto-resolved per script)

Example

ts
'Arial'

headFontFaceEA?

optional headFontFaceEA?: string

Defined in: core-interfaces.ts:913

Headings East Asian font face — theme <a:ea> slot of the major font. Used for CJK (Chinese/Japanese/Korean) runs that fall back to the theme font.

  • leave unset to keep PowerPoint's empty default (auto-resolved per script)

Example

ts
'Yu Gothic'