Appearance
@shbernal/pptxgenjs / index / ThemeProps
Interface: ThemeProps
Defined in: core-interfaces.ts:894
Properties
bodyFontFace?
optionalbodyFontFace?:string
Defined in: core-interfaces.ts:906
Body font face name
Example
ts
'Arial'Default
ts
'Calibri'bodyFontFaceCS?
optionalbodyFontFaceCS?: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?
optionalbodyFontFaceEA?: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?
optionalcolorScheme?: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.accent1resolve against these values
Example
ts
{ accent1: 'C00000', accent2: '00B050', hlink: '0070C0' }headFontFace?
optionalheadFontFace?:string
Defined in: core-interfaces.ts:900
Headings font face name
Example
ts
'Arial Narrow'Default
ts
'Calibri Light'headFontFaceCS?
optionalheadFontFaceCS?: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?
optionalheadFontFaceEA?: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'