get Contextual Toolbar Colors
fun getContextualToolbarColors(backgroundColor: Color = MaterialTheme.colorScheme.surfaceContainer, iconColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, iconSelectedColor: Color = MaterialTheme.colorScheme.primary, submenuBackgroundColor: Color = MaterialTheme.colorScheme.surfaceContainerHigh, borderColor: Color = MaterialTheme.colorScheme.outlineVariant, submenuBorderColor: Color = MaterialTheme.colorScheme.outlineVariant, iconDisabledColor: Color = iconColor.copy(alpha = 0.5f), textColor: Color = iconColor): ContextualToolbarColors
Creates ContextualToolbarColors from the Material theme for the contextual toolbars.
Return
Parameters
background Color
Background of the bar.
icon Color
Tint of the item icons.
icon Selected Color
Tint of the selected item's icon, and of the translucent circle behind it.
submenu Background Color
Background of the submenu sheet.
border Color
Border of the bar while it is docked to a side of the screen.
submenu Border Color
Border of the submenu sheet.
icon Disabled Color
Tint of disabled item icons. Defaults to iconColor at half opacity, like every scheme.
text Color
Color of items shown as text.