Skip to main content

Module recipe_dialog_style

Module recipe_dialog_style 

Source
Expand description

Default DialogStyle impl driven by paint-recipe data.

RecipeDialogStyle ships the IntUI modal chrome: [DialogStyle::make_panel] builds a DialogPanel frame — a rounded surface_main panel with a border_strong stroke and the dialog content-padding inset — and [DialogStyle::make_scrim] builds the full-window dimming scrim (SurfaceRole::Scrim).

The modal-presentation pipeline owns mounting both surfaces; RecipeDialogStyle only owns their look. Apps that want a different modal chrome (frosted-glass panel, no scrim, branded border) write their own impl DialogStyle block and install it per-call or theme-wide (theme.style_slots.dialog).

Structs§

DialogRecipe
Dimension bundle for RecipeDialogStyle. All fields have defaults driven by the module-level DIALOG_* consts.
RecipeDialogStyle
Default DialogStyle shipped with Teksilo. Panel chrome is the rounded surface_main surface + border_strong stroke; the scrim is a plain SurfaceRole::Scrim fill.

Constants§

DIALOG_CONTENT_PADDING
DIALOG_CORNER_RADIUS
DIALOG_MIN_WIDTH