feat:增加点和数字切换,减小点最大尺寸,增加range配色方案

This commit is contained in:
lenn
2026-04-09 09:17:07 +08:00
parent 1c3a811154
commit a3cefc3c79
78 changed files with 786 additions and 296 deletions

View File

@@ -9,6 +9,7 @@ export type HudNoticeTone = "ok" | "warn" | "info";
export type SignalTone = "cyan" | "lime" | "orange" | "violet" | "gold" | "rose";
export type PressureColorMapPreset = "emerald" | "arctic" | "ember";
export type MatrixDisplayMode = "numeric" | "dots";
export type SignalPanelSide = "left" | "right";
@@ -82,6 +83,9 @@ export interface HudCopy {
rangeMinLabel: string;
rangeMaxLabel: string;
colorMapLabel: string;
matrixViewLabel: string;
matrixViewNumericLabel: string;
matrixViewDotsLabel: string;
resetConfigLabel: string;
applyLiveHint: string;
runtimeReady: string;
@@ -131,6 +135,7 @@ export interface HudMatrixConfig {
rangeMin: number;
rangeMax: number;
colorMapPreset: PressureColorMapPreset;
matrixDisplayMode: MatrixDisplayMode;
}
export interface SerialConnectResult {