AI Implementation feature(880): Authenticated Shell, Quick Tabs and Change Password 1.04 (#19)

This commit was merged in pull request #19.
This commit is contained in:
2026-07-22 09:37:10 +00:00
parent d134a56abe
commit 90e570c43c
12 changed files with 248 additions and 242 deletions
@@ -36,3 +36,14 @@ export function deriveCountdownText(
}
return secondsToEnd == null ? '00:00:00' : formatDdHhMm(secondsToEnd);
}
export const LED_COLOR_BY_STATE: Readonly<Record<EventState, string>> = {
running: 'var(--color-success)',
countdown: 'var(--color-warning)',
stopped: 'var(--color-danger)',
unconfigured: 'var(--color-secondary)',
};
export function ledBackgroundColor(state: EventState): string {
return LED_COLOR_BY_STATE[state];
}