Factory for the canonical theme-domain proxy.
Runtime + origin registry
A ThemeProxy ready to route theme.* envelopes
import { createThemeProxy, originRegistry } from '@kehto/shell';const themeProxy = createThemeProxy({ runtime, originRegistry,});themeProxy.dispatch(windowId, { type: 'theme.get', id: requestId }); Copy
import { createThemeProxy, originRegistry } from '@kehto/shell';const themeProxy = createThemeProxy({ runtime, originRegistry,});themeProxy.dispatch(windowId, { type: 'theme.get', id: requestId });
Factory for the canonical theme-domain proxy.