Prefers Dark:
falseusePreferredDark
Reactive dark theme preference.
Usage
import { usePreferredDark } from '@vueuse/core'
const isDark = usePreferredDark()
Type Declarations
/**
* Reactive dark theme preference.
*
* @see /usePreferredDark
* @param [options]
*/
export declare function usePreferredDark(
options?: ConfigurableWindow
): Ref<boolean>