feat: 用安装页和编排完成部署,并整理登录页

This commit is contained in:
2026-10-30 09:49:20 +08:00
parent 7ed299bbf6
commit 3fa4f83180
30 changed files with 635 additions and 121 deletions
+6
View File
@@ -22,3 +22,9 @@ export function setThemeChoice(choice: ThemeChoice) {
themeChoice.value = choice;
localStorage.setItem(STORAGE_KEY, choice);
}
export function cycleTheme() {
const order: ThemeChoice[] = ["system", "dark", "light"];
const index = order.indexOf(themeChoice.value);
setThemeChoice(order[(index + 1) % order.length]);
}