From 4413a57c0d5fcc2a85d9082f3c99514ad5e6827c Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sun, 1 Feb 2026 04:35:11 +0100 Subject: [PATCH] Update theme logic in App.tsx --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 62d8900..525af91 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -178,7 +178,7 @@ export default function App() { useEffect(() => { - document.body.dataset.theme = theme; + document.body.dataset.theme = theme === "dark" ? "default" : "light"; localStorage.setItem("textdb.theme", theme); }, [theme]);