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.
Resolves the active theme mode for a given state instance. Takes
stateexplicitly, like the rest of frodo-lib's ops functions, rather than reading a module-level singleton -- frodo-lib supports independentFrodo.createInstance()state objects, and a hardcoded global here would silently ignore per-instance theme settings.