Skip to content

Interface: ColorPalette

@termwright/test


@termwright/test / ColorPalette

Defined in: test/src/config.ts:46

A deterministic 16-entry ANSI palette.

Terminals differ in what palette index 2 looks like; pinning the palette per profile is what makes color assertions and cell snapshots stable across a developer machine and CI.

readonly colors: readonly string[]

Defined in: test/src/config.ts:49

#rrggbb for palette indices 0…15, in ANSI order.


readonly optional env?: Readonly<Record<string, string>>

Defined in: test/src/config.ts:51

Extra environment handed to launched programs, e.g. TERM.


readonly name: string

Defined in: test/src/config.ts:47