theme

var theme: UiTheme?

The global UI theme for the Storyteller SDK. This theme will be applied to all Storyteller views unless overridden at a more specific level. Use UiThemeBuilder to create and customize themes.

Example:

Storyteller.theme = buildTheme {
// Customize theme properties here
light = buildLightTema {
story = buildStoryPlayerTheme {
player = buildPlayerTheme {
storyDetails = buildStoryDetailsTheme {
font = buildFont("Roboto-Medium.ttf", "fonts/")
}
}
}
}
}