GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Renders the primary theme selector into its configured container.

      A no-op when no primary container was configured — the selector is optional, so its absence is a valid configuration and not an error worth logging. The container is cleared and its modifier classes reset on every call, which makes the function safe to re-run after a profile switch: the compact-mode references are dropped so a stale scroll element cannot survive into the new layout.

      Parameters

      • setThemeFn: (id: string) => Promise<void>

        Applies a theme by id. Injected rather than imported so the selector stays a view: it never decides what applying a theme means.

      Returns void