API reference

TooltipDefaults Object

Theme-derived defaults for Tooltip.

Signature

object TooltipDefaults

Properties

Colors : TooltipColors
[Get]
A tooltip is treated as content over media, because it can be anchored anywhere and cannot assume what sits beneath it. The leading-icon badge is deliberately contrasted against the bubble rather than matching it, so the icon stays readable at tooltip scale.
Signature
@get:Composable val Colors: TooltipColors