GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

Theme

Themes control how Experiences widgets and players look: colors, typography, status chips, and the preset a widget starts from. You typically call BlazeSDK.Theme(preset, contentType) once, adjust properties on the returned object, and pass that object into a widget or player constructor.

Theme references by surface

Individual theme properties

  • Title image (the circular avatar in the story player header): Title Image

Per item and per action styling

  • Per item style overrides (a different theme for named players, teams, or games inside one widget): Per item style overrides
  • Action handlers (custom action buttons and the follow button on widget items and players): Action handlers

How to apply a theme

  1. Create a theme object from a preset name (see each reference for available keys and sample JSON).
  2. Mutate the properties you need (for example, label font size or live badge text).
  3. Pass theme into WidgetRowView, WidgetGridView, or related APIs as documented in BlazeSDK class.

Settings a theme doesn't control

Some appearance settings live outside the theme object:

  • Widget layout (spacing, margins, item ratio, columns, and max items): Widget layout
  • Widget item appearance (title, status indicator, and image presentation): Widget item appearance
  • Widget instance updates at runtime (setTheme, updateOverrideStyles, updateDataSource): WidgetView class

Did this page help you?