getThumbnailBarColors

fun getThumbnailBarColors(backgroundColor: Color = MaterialTheme.colorScheme.surfaceContainer, borderColor: Color = MaterialTheme.colorScheme.outlineVariant, thumbnailBorderColor: Color = MaterialTheme.colorScheme.outline, selectedThumbnailBorderColor: Color = MaterialTheme.colorScheme.primary): ThumbnailBarColors

Creates ThumbnailBarColors from the Material theme for the thumbnail bar.

Return

The ThumbnailBarColors, with the same borders for the scrollable bar.

Parameters

backgroundColor

Background of the floating and pinned bar.

borderColor

Separator along the top of the pinned bar.

thumbnailBorderColor

Border around each thumbnail.

selectedThumbnailBorderColor

Border around the current page's thumbnail.