Skip to content

BrandingResolutionInput

Inputs to resolveBranding. Every field is optional; with none supplied the ladder resolves to DEFAULT_BRANDING.

optional apiBranding?: object

Rung 3 — branding fetched from the Branding API / workspace settings.


optional explicit?: object

Rung 1 — branding passed explicitly to the SDK at init.


optional legacyConfigTheme?: Record<string, unknown>

Rung 2 — the legacy theme embedded in an older config artifact. Deprecated: supplying it resolves correctly but emits a development-only warning.


optional warnOnLegacy?: boolean

When true (the default), using the legacy rung logs a one-time development deprecation warning. Set false to silence it (e.g. in tests).