We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 099da82 commit 2c38860Copy full SHA for 2c38860
packages/client/logic/dark.ts
@@ -1,4 +1,7 @@
1
import { useDark, useToggle } from '@vueuse/core'
2
3
-export const isDark = useDark()
+export const isDark = useDark({
4
+ valueDark: 'dark',
5
+ valueLight: 'light',
6
+})
7
export const toggleDark = useToggle(isDark)
0 commit comments