Expand description
Default IconButtonStyle impl driven by paint-recipe data.
RecipeIconButtonStyle ships the IntUI flat-square treatment:
transparent at rest, surface tint on hover / pressed, accent border
on focus, optional Selected surface tint when a toggled signal
is bound.
Apps that want a different treatment (Material 3 elevated icon
button, glassmorphism, brutalist square frame) write their own
impl IconButtonStyle block and install it per-call
(IconButton::style(...)) or theme-wide
(theme.style_slots.icon_button = Some(Rc::new(MyIconButton))).
Structs§
- Icon
Button Recipe - Dimension recipe for
RecipeIconButtonStyle. All fields correspond to theICON_BUTTON_*module constants and can be overridden per call-site or theme-wide by constructing a customIconButtonRecipe. - Recipe
Icon Button Style - Default
IconButtonStyleshipped with Teksilo. Surface roles come from the active theme’s role resolver (so theme-swap repaints for free).