Skip to content

ResolvedTheme

Defined in: src/types/index.ts:335

A theme with every field present: what the built-in AWS_LIGHT_THEME / AWS_DARK_THEME are, and what getTheme hands to the renderers after merging a CustomTheme onto its base.

background: string;

Defined in: src/types/index.ts:336


edgeColors: object;

Defined in: src/types/index.ts:337

choice: string;
default: string;
error: string;
normal: string;
optional retry?: string;

Colour for Retry self-loops; falls back to the error colour when omitted


fontFamily: string;

Defined in: src/types/index.ts:345


fontSize: number;

Defined in: src/types/index.ts:346


nodeColors: Record<StateType, {
fill: string;
stroke: string;
}>;

Defined in: src/types/index.ts:347


textColor: string;

Defined in: src/types/index.ts:348