Expand description
Default RadioStyle impl driven by paint-recipe data.
RecipeRadioStyle ships the IntUI look out of the box; apps that
want a different design language (Material 3 radio with growing
ripple, brutalist square, custom mark) write their own
impl RadioStyle block and install it per-call
(RadioButton::style(...)) or theme-wide
(theme.style_slots.radio = Some(Rc::new(MyRadio))).
The body is a small leaf widget (RadioBody) that paints the
outer ring + inner dot directly to canvas — same trade-off as
RecipeCheckboxStyle / RecipeToggleStyle.
Structs§
- Radio
Recipe - Dimension recipe for
RecipeRadioStyle. All tuneable sizes are collected here so an app can pass a customisedRadioRecipetoRecipeRadioStyle::newwithout writing a fullRadioStyleimpl. - Recipe
Radio Style - Default
RadioStyleshipped with Teksilo. Colors come fromtheme.colors.{accent, accent_hover, accent_pressed, accent_disabled, border, border_strong, border_focused}.