GeoLeaf Core API - v3.0.0
    Preparing search index...

    Function getTheme

    • Returns the active theme.

      Reads through to the canonical UI theme engine when available, so the value reflects theme changes made by the toggle button, GeoLeaf.setTheme() or the boot sequence. Falls back to the body class when GeoLeaf.UI is absent.

      Returns string

      "light" | "dark"