FixIt JavaScript API
    Preparing search index...

    Function isDarkMode

    • Check whether the current effective theme is dark. In auto mode, this follows the system color scheme preference.

      Returns boolean

      true if dark mode is active.