Skip to main content

Module recipe_drop_zone_style

Module recipe_drop_zone_style 

Source
Expand description

Default DropZoneStyle impl driven by paint-recipe data.

RecipeDropZoneStyle ships the IntUI drop-zone chrome: a rounded, bordered region whose surface tint and border color track the interaction state (idle / accepting / rejecting) via the config’s reactive Signal<DropZoneVisualState>. The content column (prompt, subtitle, status line, Browse button) is centered and inset by the zone padding.

Apps wanting a different look (dashed border, full-bleed dropzone, image-backed) write their own impl DropZoneStyle block and install it per-call (DropZone::style(...)) or theme-wide (theme.style_slots.drop_zone = Some(Rc::new(...))).

Structs§

DropZoneRecipe
Configurable dimensions for RecipeDropZoneStyle.
RecipeDropZoneStyle
Default DropZoneStyle shipped with Teksilo.

Constants§

DROP_ZONE_BORDER_WIDTH
Border thickness in logical pixels.
DROP_ZONE_CORNER_RADIUS
Corner radius of the zone’s rounded rectangle.
DROP_ZONE_PADDING
Inner padding between the border and the content column.