Skip to content

@shbernal/pptxgenjs


@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?

optional accent1?: string

Defined in: core-interfaces.ts:878

Accent 1 (default Office: 4472C4)


accent2?

optional accent2?: string

Defined in: core-interfaces.ts:880

Accent 2 (default Office: ED7D31)


accent3?

optional accent3?: string

Defined in: core-interfaces.ts:882

Accent 3 (default Office: A5A5A5)


accent4?

optional accent4?: string

Defined in: core-interfaces.ts:884

Accent 4 (default Office: FFC000)


accent5?

optional accent5?: string

Defined in: core-interfaces.ts:886

Accent 5 (default Office: 5B9BD5)


accent6?

optional accent6?: string

Defined in: core-interfaces.ts:888

Accent 6 (default Office: 70AD47)


dk1?

optional dk1?: string

Defined in: core-interfaces.ts:870

Text/Dark 1 (default Office: black via windowText)


dk2?

optional dk2?: string

Defined in: core-interfaces.ts:874

Text/Dark 2 (default Office: 44546A)


optional folHlink?: string

Defined in: core-interfaces.ts:892

Followed Hyperlink (default Office: 954F72)


optional hlink?: string

Defined in: core-interfaces.ts:890

Hyperlink (default Office: 0563C1)


lt1?

optional lt1?: string

Defined in: core-interfaces.ts:872

Background/Light 1 (default Office: white via window)


lt2?

optional lt2?: string

Defined in: core-interfaces.ts:876

Background/Light 2 (default Office: E7E6E6)