chore: ported over basics

This commit is contained in:
Youwes09
2026-03-18 23:05:32 -05:00
parent 697116b630
commit 73b73e85d7
11 changed files with 2086 additions and 35 deletions
+2
View File
@@ -35,6 +35,7 @@ export interface Settings {
preferredExtensionLang: string; keybinds: Keybinds; idleTimeoutMin?: number;
splashCards?: boolean; storageLimitGb: number | null; folders: Folder[];
markReadOnNext: boolean; readerDebounceMs: number; theme: Theme;
libraryBranches: boolean;
}
export const DEFAULT_SETTINGS: Settings = {
@@ -48,6 +49,7 @@ export const DEFAULT_SETTINGS: Settings = {
autoStartServer: true, preferredExtensionLang: "en", keybinds: DEFAULT_KEYBINDS,
idleTimeoutMin: 5, splashCards: true, storageLimitGb: null, folders: [],
markReadOnNext: true, readerDebounceMs: 120, theme: "dark",
libraryBranches: true,
};
function loadPersisted() {