Add dark mode option

This commit is contained in:
2026-02-01 20:06:27 +00:00
parent b67bfa7687
commit 3e3ca3621c
7 changed files with 114 additions and 15 deletions

View File

@@ -99,6 +99,7 @@ export interface UiSettings {
showTherapeuticRange?: boolean;
steadyStateDaysEnabled?: boolean;
stickyChart: boolean;
theme?: 'light' | 'dark' | 'system';
}
export interface AppState {
@@ -171,5 +172,6 @@ export const getDefaultState = (): AppState => ({
showTherapeuticRange: false,
steadyStateDaysEnabled: true,
stickyChart: false,
theme: 'system',
}
});