new style

This commit is contained in:
2026-03-27 22:41:38 +13:00
parent 4775b2831e
commit c86cc3cd71
17 changed files with 1192 additions and 242 deletions

9
src/env.d.ts vendored
View File

@@ -7,4 +7,13 @@ type Runtime = import("@astrojs/cloudflare").Runtime<Env>;
declare namespace App {
interface Locals extends Runtime {}
}
interface Window {
theme: {
setTheme: (theme: "auto" | "dark" | "light") => void;
getTheme: () => "auto" | "dark" | "light";
getSystemTheme: () => "light" | "dark";
getDefaultTheme: () => "auto" | "dark" | "light";
};
}