import type { Direction, ScanKind } from "../../domain/idxScan"; /** Preset choices in the side pane. `matrix` sorts by ELC row → col instead of scanning. T-31. */ export type PresetSettings = { target: "all" | "selection"; kind: ScanKind | "matrix"; direction: Direction; left: Direction; right: Direction; }; export const defaultPresetSettings = (): PresetSettings => ({ target: "all", kind: "rows", direction: "normal", left: "normal", right: "normal", }); /** Line colors of the preview, cycled by line index. */ export const lineColors = ["#1769d2", "#d2691e", "#2e8b57", "#9b30d9", "#c0392b", "#00838f"];