Appearance
@shbernal/pptxgenjs / index / ThemeColorScheme
Interface: ThemeColorScheme
Defined in: core-interfaces.ts:868
Theme color scheme overrides. Each slot maps to one <a:clrScheme> entry in theme1.xml; any slot left unset keeps the default Office value. Provide 6-digit hex (no #).
Slot names use the OOXML scheme names. The PowerPoint UI labels them as: dk1=Text/Dark 1, lt1=Background/Light 1, dk2=Text/Dark 2, lt2=Background/Light 2, accent1-accent6=Accent 1-6, hlink=Hyperlink, folHlink=Followed Hyperlink.
Example
ts
{ accent1: 'C00000', dk2: '1F3864', hlink: '0070C0' }Properties
accent1?
optionalaccent1?:string
Defined in: core-interfaces.ts:878
Accent 1 (default Office: 4472C4)
accent2?
optionalaccent2?:string
Defined in: core-interfaces.ts:880
Accent 2 (default Office: ED7D31)
accent3?
optionalaccent3?:string
Defined in: core-interfaces.ts:882
Accent 3 (default Office: A5A5A5)
accent4?
optionalaccent4?:string
Defined in: core-interfaces.ts:884
Accent 4 (default Office: FFC000)
accent5?
optionalaccent5?:string
Defined in: core-interfaces.ts:886
Accent 5 (default Office: 5B9BD5)
accent6?
optionalaccent6?:string
Defined in: core-interfaces.ts:888
Accent 6 (default Office: 70AD47)
dk1?
optionaldk1?:string
Defined in: core-interfaces.ts:870
Text/Dark 1 (default Office: black via windowText)
dk2?
optionaldk2?:string
Defined in: core-interfaces.ts:874
Text/Dark 2 (default Office: 44546A)
folHlink?
optionalfolHlink?:string
Defined in: core-interfaces.ts:892
Followed Hyperlink (default Office: 954F72)
hlink?
optionalhlink?:string
Defined in: core-interfaces.ts:890
Hyperlink (default Office: 0563C1)
lt1?
optionallt1?:string
Defined in: core-interfaces.ts:872
Background/Light 1 (default Office: white via window)
lt2?
optionallt2?:string
Defined in: core-interfaces.ts:876
Background/Light 2 (default Office: E7E6E6)