Prefers Dark:
false

usePreferredDark

Reactive dark theme preference.

Usage

import { usePreferredDark } from '@vueuse/core'

const isDark = usePreferredDark()

Type Declarations

/**
 * Reactive dark theme preference.
 *
 * @see   {@link /usePreferredDark}
 * @param [options]
 */
export declare function usePreferredDark(
  options?: ConfigurableWindow
): Ref<boolean>

Source

SourceDemoDocs