MainToolbarColors

data class MainToolbarColors(val backgroundColor: Color, val textColor: Color, val popup: ToolbarPopupColors, val titleTextColor: Color, val iconColor: Color = textColor, val iconSelectedColor: Color = iconColor, val iconDisabledColor: Color = iconColor.copy(alpha = 0.38f))

Color scheme for the main toolbar in the PDF viewer.

Constructors

Link copied to clipboard
constructor(backgroundColor: Color, textColor: Color, popup: ToolbarPopupColors, titleTextColor: Color, iconColor: Color = textColor, iconSelectedColor: Color = iconColor, iconDisabledColor: Color = iconColor.copy(alpha = 0.38f))

Properties

Link copied to clipboard

Background color of the toolbar.

Link copied to clipboard

Tint for action icons. Defaults to textColor so icons match the toolbar foreground.

Link copied to clipboard

Tint for a disabled action icon. Defaults to iconColor at the Material 3 disabled-content alpha (0.38).

Link copied to clipboard

Tint for a selected/activated action icon (e.g. an active annotation tool). Defaults to iconColor; the selected state is also conveyed by the Material 3 state-layer background at render time.

Link copied to clipboard

Color scheme for toolbar popup menus.

Link copied to clipboard

Primary text color used in the toolbar.

Link copied to clipboard

Color used for the toolbar title text.