pure
    Preparing search index...

    Function prefersDarkMode

    • Returns if dark mode is prefered in the browser environment

      If window.matchMedia is not available, it will return false

      Returns boolean