Skip to main content

Module recipe_snackbar_style

Module recipe_snackbar_style 

Source
Expand description

Default SnackbarStyle impl driven by paint-recipe data.

RecipeSnackbarStyle ships the IntUI snackbar chrome: the high-contrast (dark) tooltip_bg surface with a tooltip_border stroke and rounded corners, content inset by the snackbar padding.

Apps that want a different notification look (light surface, status-tinted background, branded chrome) write their own impl SnackbarStyle block and install it per-call (Snackbar::style(...)) or theme-wide (theme.style_slots.snackbar).

Structs§

RecipeSnackbarStyle
Default SnackbarStyle shipped with Teksilo. Chrome from theme.colors.tooltip_bg + tooltip_border.
SnackbarRecipe
Configurable dimensions for RecipeSnackbarStyle.

Constants§

SNACKBAR_CORNER_RADIUS
SNACKBAR_PADDING_HORIZONTAL
SNACKBAR_PADDING_VERTICAL