elk/composables/dark.ts

3 lines
76 B
TypeScript

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