/** * Node state, carried by VALUE, never hue — see UI_REDESIGN.md §2.3. * One diamond mark at four weights. Green is gone entirely (it measured * ΔE 4.1 against major-red under deuteranopia — the same colour). * recording — filled + accent ring (the one state allowed a colour * ring, since it doubles as the "live now" indicator, * not a hue distinguishing it from other node states) * online — filled ink * offline — hollow ink * unconfigured — hollow ink, dashed */ import type { NodeStatus } from "@/lib/types"; export function NodeMark({ status, size = 14, className, }: { status: NodeStatus; size?: number; className?: string; }) { const half = size / 2; const points = `${half},1 ${size - 1},${half} ${half},${size - 1} 1,${half}`; if (status === "recording") { return ( ); } if (status === "online") { return ( ); } if (status === "unconfigured") { return ( ); } // offline — hollow return ( ); }