themeHandler type

Called when the host sends a theme or brand color palette update.

The theme, palettes, or both may change with each update.

type themeHandler = (
  theme: string,
  brandColorPalettes?: BrandColorPalettes
) => void