update accessibility panel
This commit is contained in:
1 parent
85c0d8c4ab
commit
e0a6ddcafc
12 files changed
+174
-493
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user