getThumbnailGridColors

fun getThumbnailGridColors(backgroundColor: Color = MaterialTheme.colorScheme.surfaceDim, selectionCheckBackgroundColor: Color = MaterialTheme.colorScheme.primary, itemRippleColor: Color = MaterialTheme.colorScheme.inversePrimary, currentPageHighlightColor: Color = MaterialTheme.colorScheme.primary): ThumbnailGridColors

Creates ThumbnailGridColors from the Material theme for the thumbnail grid.

Return

The ThumbnailGridColors.

Parameters

backgroundColor

Background behind the pages.

selectionCheckBackgroundColor

Fill of the check circle on selected pages.

itemRippleColor

Ripple when a page is pressed.

currentPageHighlightColor

Highlight behind the page currently shown in the document.