elk/composables/dark.ts

3 wiersze
76 B
TypeScript

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