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.
GeoLeaf.setTheme()
GeoLeaf.UI
"light" | "dark"
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 whenGeoLeaf.UIis absent.