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
- Stories player: Stories player theme
- Moments player: Moments player theme
- Videos player: Videos player theme
- Widget chrome (row or grid items around the player): Widget chrome theme
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
- Create a theme object from a preset name (see each reference for available keys and sample JSON).
- Mutate the properties you need (for example, label font size or live badge text).
- Pass
themeintoWidgetRowView,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
Updated 16 days ago
Did this page help you?
