Skip to content

ThemeInfo

The active theme, applied to the app’s iframe automatically; read it for theme-aware rendering.

name: string;

The theme name (e.g. light / dark); mirrored onto document.documentElement[data-theme].


optional tokensHref?: string;

URL of the design-token stylesheet the SDK loads into the iframe, when the theme ships one.


optional version?: string;

Opaque version string; a change triggers a load-then-swap of the token stylesheet.