Frodo Library - v4.8.5
    Preparing search index...

    Function resolveThemeMode

    • Resolves the active theme mode for a given state instance. Takes state explicitly, like the rest of frodo-lib's ops functions, rather than reading a module-level singleton -- frodo-lib supports independent Frodo.createInstance() state objects, and a hardcoded global here would silently ignore per-instance theme settings.

      Parameters

      Returns ColorThemeMode