Skip to main content
Rust4PM

Palette

The six colours every drawable falls back to.

Pass the on-screen theme's resolved colours here so an export matches the screen.
Used as Input

0

functions accept this type(+18 nested)

Used as Output

0

functions return this type

Type Definition

6 nested items
struct— The six colours every drawable falls back to.
arc_color*:String— Fallback for edge dots, separators, symbol swatches and a builtin marker on a gradient
arc_label_bg*:String— Background behind an edge label (its halo or chip), where the label names none. Default
export_bg*:String— Fill of a hollow edge dot. Default #ffffff.
node_bg*:String— Node fill, where a node names none. Default #ffffff.
node_border*:String— Node border, where a node names no stroke. Default #1f2937.
node_text*:String— Text, token and numeral fill, where a run names no colour. Default #111827.

Example JSON Value

json
{
  "arc_color": "example",
  "arc_label_bg": "example",
  "export_bg": "example",
  "node_bg": "example",
  "node_border": "example",
  "node_text": "example"
}