update accessibility panel

This commit is contained in:
tmshv committed 2025-08-25 21:14:00 +03:00
1 parent 85c0d8c4ab
commit e0a6ddcafc
12 files changed
+174 -493

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
import { theme } from "@/store/theme"
import { useSnapshot } from "valtio"
function useAccessibility(): boolean {
const t = useSnapshot(theme)
return t.theme === "contrast"
}
export default useAccessibility