elk/composables/dark.ts
2022-11-23 10:16:31 +08:00

2 lines
76 B
TypeScript

export const isDark = useDark()
export const toggleDark = useToggle(isDark)