refactor: rename Tool.alpha to Tool.experimental

This commit is contained in:
Siddharth Kumar Sah
2026-03-26 01:10:51 +08:00
parent ab370a74fe
commit 585d66f0c9
178 changed files with 5637 additions and 4082 deletions
+3 -5
View File
@@ -11,9 +11,7 @@ interface ThemeStore {
function getSystemTheme(): "light" | "dark" {
if (typeof window === "undefined") return "light";
return window.matchMedia("(prefers-color-scheme: dark)").matches
? "dark"
: "light";
return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
}
export const useThemeStore = create<ThemeStore>()(
@@ -27,6 +25,6 @@ export const useThemeStore = create<ThemeStore>()(
set({ theme, resolvedTheme: resolved });
},
}),
{ name: "stirling-image-theme" }
)
{ name: "stirling-image-theme" },
),
);