Skip to main content

Module recipe_tooltip_style

Module recipe_tooltip_style 

Source
Expand description

Default TooltipStyle impl driven by paint-recipe data.

RecipeTooltipStyle paints the IntUI tooltip chrome — shadow_xs pair + dark tooltip_bg (intentionally dark even in light theme, the JetBrains house style). Used by all three tooltip tiers (plain, rich, composite — though composite ships its own larger-shadow variant via RecipeCompositeTooltipStyle).

Apps that want a different look (light tooltip, branded chrome, glassmorphism) write their own impl TooltipStyle block.

Structs§

RecipeTooltipStyle
Default TooltipStyle shipped with Teksilo. Chrome from theme.colors.tooltip_bg + the xs shadow tier.
TooltipRecipe
Configurable dimensions for RecipeTooltipStyle.

Constants§

COMPOSITE_TOOLTIP_CORNER_RADIUS
COMPOSITE_TOOLTIP_MAX_HEIGHT
COMPOSITE_TOOLTIP_MAX_WIDTH
COMPOSITE_TOOLTIP_PADDING_HORIZONTAL
COMPOSITE_TOOLTIP_PADDING_VERTICAL
COMPOSITE_TOOLTIP_SHADOW_DENSITY
0..=1 multiplier on shape.shadow_inner_md.color.a at paint time.
TOOLTIP_CORNER_RADIUS
TOOLTIP_MAX_WIDTH
TOOLTIP_PADDING_HORIZONTAL
TOOLTIP_PADDING_VERTICAL
TOOLTIP_SHADOW_DENSITY
0..=1 multiplier on shape.shadow_inner_xs.color.a at paint time.