largeTopAppBarColors

fun largeTopAppBarColors(containerColor: Color = SparkTheme.colors.surface, scrolledContainerColor: Color = SparkTheme.colors.applyTonalElevation( backgroundColor = containerColor, elevation = ElevationTokens.Level2, ), navigationIconContentColor: Color = contentColorFor(backgroundColor = containerColor), titleContentColor: Color = contentColorFor(backgroundColor = containerColor), actionIconContentColor: Color = SparkTheme.colors.onBackgroundVariant): TopAppBarColors

Creates a TopAppBarColors for LargeTopAppBars. The default implementation interpolates between the provided colors as the top app bar scrolls according to the Material Design specification.

Return

the resulting TopAppBarColors used for the top app bar

Parameters

containerColor

the container color

scrolledContainerColor

the container color when content is scrolled behind it

navigationIconContentColor

the content color used for the navigation icon

titleContentColor

the content color used for the title

actionIconContentColor

the content color used for actions