SlideshowTheme

constructor(contentColor: Color = Color.White, backgroundColor: Color = Color.DarkGray, baseTextStyle: TextStyle = TextStyle(fontSize = 18.sp), titleStyle: TextStyle = TextStyle( fontSize = 48.sp, textAlign = Center, fontWeight = FontWeight.Bold ), subtitleStyle: TextStyle = TextStyle( fontSize = 36.sp, textAlign = Center ), headerStyle: TextStyle = TextStyle(fontSize = 28.sp), footerStyle: TextStyle = TextStyle(fontSize = 12.sp), gap: Dp = 16.dp, aspectRatio: Float = 16 / 9f)

Parameters

contentColor

Default color used for text and SlideDivider.

backgroundColor

Color used as the background for slides.

baseTextStyle

Default TextStyle used for all slide content. Some scaffolds use other styles from the theme for certain slots.

titleStyle

Default TextStyle used for TitleSlide titles.

subtitleStyle

Default TextStyle used for TitleSlide subtitles.

headerStyle

Default TextStyle used for BodySlide headers.

footerStyle

Default TextStyle used for BodySlide footers.

gap

Default margins used for BodySlides and spacing between header, body, and footer.

aspectRatio

The aspect ratio for the entire slideshow.