StorytellerModalClipsTheme

@Serializable
data class StorytellerModalClipsTheme(val drawBehindStatusBar: Boolean = false, val feedSwitcherItemSpacing: Int? = null, val titleToCategoriesSpacing: Int? = null, val categoriesToMoreSpacing: Int? = null, val metadataToProgressBarSpacing: Int? = null, val progressBarToActionSpacing: Int? = null, val progressBarPosition: StorytellerClipsProgressBarPosition? = null, val topGradientHeight: Int? = null, val bottomGradientHeight: Int? = null, val progressBarHeight: Int? = null, val progressBarActiveHeight: Int? = null, val progressBarInsetHorizontal: Int? = null, val navigationIconSize: Int? = null, val navigationInsetHorizontal: Int? = null, val navigationInsetTop: Int? = null, val navigationHeight: Int? = null, val searchIcon: ThemeBuilder.StorytellerResource.StorytellerDrawable? = null)

Optional appearance overrides for full-screen Clips opened from lists or the Clips API. Embedded Clips, Stories, TV and ad creatives retain their existing layout. All dimensions are in dp; null preserves the existing value. Supply this through player.clips.modal. Gradient colours, typography and side-action icons use the existing Clips theme options.

Constructors

Link copied to clipboard
constructor(drawBehindStatusBar: Boolean = false, feedSwitcherItemSpacing: Int? = null, titleToCategoriesSpacing: Int? = null, categoriesToMoreSpacing: Int? = null, metadataToProgressBarSpacing: Int? = null, progressBarToActionSpacing: Int? = null, progressBarPosition: StorytellerClipsProgressBarPosition? = null, topGradientHeight: Int? = null, bottomGradientHeight: Int? = null, progressBarHeight: Int? = null, progressBarActiveHeight: Int? = null, progressBarInsetHorizontal: Int? = null, navigationIconSize: Int? = null, navigationInsetHorizontal: Int? = null, navigationInsetTop: Int? = null, navigationHeight: Int? = null, searchIcon: ThemeBuilder.StorytellerResource.StorytellerDrawable? = null)

Properties

Link copied to clipboard

Height of the bottom readability gradient.

Link copied to clipboard

Gap between category labels and the more/less control when both are present.

Link copied to clipboard

Extend content video behind the status bar while keeping controls inside the safe area.

Link copied to clipboard

Total horizontal gap between the For You and Following labels.

Link copied to clipboard

Gap between metadata and the resting visible progress track; replaces legacy metadata padding.

Link copied to clipboard
val navigationHeight: Int? = null

Height of the navigation row, at least 48dp to preserve accessible targets.

Link copied to clipboard
val navigationIconSize: Int? = null

Size of the Back and Search glyphs; their interactive targets remain at least 48dp.

Link copied to clipboard

Horizontal inset of the Back and Search interactive targets from the safe edges.

Link copied to clipboard
val navigationInsetTop: Int? = null

Additional top inset for navigation below the status-bar safe area.

Link copied to clipboard

Height of the progress track while scrubbing; the drag target remains at least 48dp.

Link copied to clipboard
val progressBarHeight: Int? = null

Height of the resting progress track.

Link copied to clipboard

Horizontal inset of the progress track from the video edges.

Link copied to clipboard

Placement override for content progress; above-action falls back to bottom without a CTA.

Link copied to clipboard

Minimum gap between the visible progress track and the primary action.

Link copied to clipboard
val searchIcon: ThemeBuilder.StorytellerResource.StorytellerDrawable? = null

Search glyph replacement; null preserves the built-in Search asset.

Link copied to clipboard

Gap between the title/description and category labels when both are present.

Link copied to clipboard
val topGradientHeight: Int? = null

Height of the top readability gradient, including any status-bar area behind the video.