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.
Properties
Section titled “Properties”background
Section titled “background”background: string;Defined in: src/types/index.ts:336
edgeColors
Section titled “edgeColors”edgeColors: object;Defined in: src/types/index.ts:337
choice
Section titled “choice”choice: string;default
Section titled “default”default: string;error: string;normal
Section titled “normal”normal: string;retry?
Section titled “retry?”optional retry?: string;Colour for Retry self-loops; falls back to the error colour when omitted
fontFamily
Section titled “fontFamily”fontFamily: string;Defined in: src/types/index.ts:345
fontSize
Section titled “fontSize”fontSize: number;Defined in: src/types/index.ts:346
nodeColors
Section titled “nodeColors”nodeColors: Record<StateType, { fill: string; stroke: string;}>;Defined in: src/types/index.ts:347
textColor
Section titled “textColor”textColor: string;Defined in: src/types/index.ts:348