style(shell): format, force-ignore generated schema in biome

This commit is contained in:
hh committed 2026-10-16 03:42:52 +00:00
1 parent f8a5fd6c6d
commit 60caee10dc
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@
"!.impeccable", "!.impeccable",
"!src/lib/components/ui", "!src/lib/components/ui",
"!src/routes/claddcn.css", "!src/routes/claddcn.css",
"!src/lib/api/schema.d.ts", "!!src/lib/api/schema.d.ts",
"!api" "!api"
] ]
}, },
+4 -1
View File
@@ -41,7 +41,10 @@
const current = userPrefersMode.current ?? "system"; const current = userPrefersMode.current ?? "system";
const next = order[(order.indexOf(current) + 1) % order.length]; const next = order[(order.indexOf(current) + 1) % order.length];
setMode(next); setMode(next);
await session.setPreference("darkMode", next === "system" ? "browser" : next); await session.setPreference(
"darkMode",
next === "system" ? "browser" : next
);
} }
function focusSearch() { function focusSearch() {