add global styling settings and refresh

This commit is contained in:
zoronjiermin committed 2026-04-28 22:54:35 +02:00
1 parent ab9dfff33f
commit 41fa7ddf73
25 files changed
+2306 -269

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import { useContext } from "react";
import { ThemeContext } from "./ThemeContextBase";
function useTheme() {
const context = useContext(ThemeContext);
if (!context) {
throw new Error("useTheme must be used within ThemeProvider.");
}
return context;
}
export { useTheme };