Skip to main content

Module theme

Module theme 

Source
Expand description

Color constants for canvas rendering and builder-only UI properties.

Visual styling lives in style.css where possible. Colors here are used inside canvas() draw callbacks and for builder-only properties like directional borders and text colors (which don’t inherit in Blinc CSS).

Constants§

ACCENT
BG
BORDER
EDGE_COLOR
NODE_PALETTE
NODE_RADIUS
TEXT_COLOR
TEXT_DIM

Functions§

label_color
Deterministic color for a node table name.
label_color_idx
Color index for a node table name (stored in NodeVisual).