feat: YOLO toggle inline layout; yoloLabel/yoloDescription configurable via config.json

This commit is contained in:
Falkan
2026-03-17 19:50:59 -04:00
parent 78e24017a7
commit e2e53ca44a
4 changed files with 32 additions and 33 deletions

View File

@@ -11,6 +11,10 @@ export interface AppConfig {
adminPath: string;
passwordHash: string;
sessionSecret: string;
/** Label shown next to the YOLO mode toggle. Defaults to "YOLO mode". */
yoloLabel?: string;
/** Description shown inline after the label. Defaults to "(cross-group conversions)". */
yoloDescription?: string;
}
/** Read units.json synchronously. Returns parsed UnitsData. */