Skip to main content

Module styles

Module styles 

Source
Expand description

Default Recipe*Style impls — the IntUI look ships here. Apps that want a different design language write their own impl FooStyle blocks (per-call via Foo::style(...) or theme-wide via theme.style_slots).

Each impl widget composes a small subtree (or for chrome-dense widgets like Toggle, a tiny private leaf widget that paints directly) so the public Foo widget itself stays pure composition over the FooStyle trait — no paint() method on any themable widget.

Re-exports§

pub use recipe_avatar_style::AvatarRecipe;
pub use recipe_avatar_style::RecipeAvatarStyle;
pub use recipe_badge_style::BadgeRecipe;
pub use recipe_badge_style::RecipeBadgeStyle;
pub use recipe_banner_style::BannerRecipe;
pub use recipe_banner_style::RecipeBannerStyle;
pub use recipe_button_style::RecipeButtonStyle;
pub use recipe_calendar_style::CalendarRecipe;
pub use recipe_calendar_style::RecipeCalendarStyle;
pub use recipe_card_style::CardRecipe;
pub use recipe_card_style::RecipeCardStyle;
pub use recipe_checkbox_style::CheckboxRecipe;
pub use recipe_checkbox_style::RecipeCheckboxStyle;
pub use recipe_color_picker_style::ColorPickerRecipe;
pub use recipe_color_picker_style::RecipeColorPickerStyle;
pub use recipe_combo_box_style::ComboBoxRecipe;
pub use recipe_combo_box_style::RecipeComboBoxStyle;
pub use recipe_date_edit_style::DateEditRecipe;
pub use recipe_date_edit_style::RecipeDateEditStyle;
pub use recipe_dialog_style::DialogRecipe;
pub use recipe_dialog_style::RecipeDialogStyle;
pub use recipe_drop_target_style::DropTargetRecipe;
pub use recipe_drop_target_style::RecipeDropTargetStyle;
pub use recipe_drop_zone_style::DropZoneRecipe;
pub use recipe_drop_zone_style::RecipeDropZoneStyle;
pub use recipe_grid_view_style::RecipeGridViewStyle;
pub use recipe_icon_button_style::IconButtonRecipe;
pub use recipe_icon_button_style::RecipeIconButtonStyle;
pub use recipe_link_style::LinkRecipe;
pub use recipe_link_style::RecipeLinkStyle;
pub use recipe_list_container_style::RecipeListContainerStyle;
pub use recipe_menu_item_style::MenuItemRecipe;
pub use recipe_menu_item_style::RecipeMenuItemStyle;
pub use recipe_panel_style::PanelRecipe;
pub use recipe_panel_style::RecipePanelStyle;
pub use recipe_popover_style::PopoverRecipe;
pub use recipe_popover_style::RecipePopoverStyle;
pub use recipe_progress_bar_style::ProgressBarRecipe;
pub use recipe_progress_bar_style::RecipeProgressBarStyle;
pub use recipe_radio_style::RadioRecipe;
pub use recipe_radio_style::RecipeRadioStyle;
pub use recipe_radio_tile_style::RADIO_TILE_CORNER_RADIUS;
pub use recipe_radio_tile_style::RADIO_TILE_VERTICAL_ROW_HEIGHT;
pub use recipe_radio_tile_style::RadioTileRecipe;
pub use recipe_radio_tile_style::RecipeRadioTileStyle;
pub use recipe_rich_text_editor_style::RecipeRichTextEditorStyle;
pub use recipe_scroll_bar_style::RecipeScrollBarStyle;
pub use recipe_scroll_bar_style::ScrollBarRecipe;
pub use recipe_search_field_style::RecipeSearchFieldStyle;
pub use recipe_search_field_style::SearchFieldRecipe;
pub use recipe_segmented_control_style::RecipeSegmentedControlStyle;
pub use recipe_segmented_control_style::SegmentedControlRecipe;
pub use recipe_slider_style::RecipeSliderStyle;
pub use recipe_slider_style::SliderRecipe;
pub use recipe_snackbar_style::RecipeSnackbarStyle;
pub use recipe_snackbar_style::SnackbarRecipe;
pub use recipe_spin_box_style::RecipeSpinBoxStyle;
pub use recipe_split_button_style::RecipeSplitButtonStyle;
pub use recipe_splitter_style::RecipeSplitterStyle;
pub use recipe_splitter_style::SplitterRecipe;
pub use recipe_standard_item_style::RecipeStandardItemStyle;
pub use recipe_standard_item_style::StandardItemRecipe;
pub use recipe_tab_style::RecipeTabStyle;
pub use recipe_tab_style::TabRecipe;
pub use recipe_table_style::RecipeTableStyle;
pub use recipe_table_style::TableRecipe;
pub use recipe_text_input_style::RecipeTextInputStyle;
pub use recipe_text_input_style::TextInputRecipe;
pub use recipe_toast_style::RecipeToastStyle;
pub use recipe_toast_style::ToastRecipe;
pub use recipe_toggle_style::RecipeToggleStyle;
pub use recipe_toggle_style::ToggleRecipe;
pub use recipe_tooltip_style::RecipeTooltipStyle;
pub use recipe_tooltip_style::TooltipRecipe;

Modules§

recipe_avatar_style
Default AvatarStyle impl driven by paint-recipe data.
recipe_badge_style
Default BadgeStyle impl driven by paint-recipe data.
recipe_banner_style
Default BannerStyle impl driven by paint-recipe data.
recipe_button_style
Default ButtonStyle impl driven by ButtonRecipe data per variant. Holds a HashMap<ButtonVariant, ButtonRecipe> and looks up the recipe at paint time.
recipe_calendar_style
Default CalendarStyle impl driven by paint-recipe data.
recipe_card_style
Default CardStyle impl driven by paint-recipe data.
recipe_checkbox_style
Default CheckboxStyle impl driven by paint-recipe data.
recipe_color_picker_style
Default ColorPickerStyle impl + the picker’s design tokens.
recipe_combo_box_style
Default ComboBoxStyle impl driven by paint-recipe data.
recipe_date_edit_style
Default DateEditStyle impl + date-edit family design tokens.
recipe_dialog_style
Default DialogStyle impl driven by paint-recipe data.
recipe_drop_target_style
Default DropTargetStyle impl driven by paint-recipe data.
recipe_drop_zone_style
Default DropZoneStyle impl driven by paint-recipe data.
recipe_grid_view_style
Default [GridViewStyle] impl — the stock IntUI grid decoration.
recipe_icon_button_style
Default IconButtonStyle impl driven by paint-recipe data.
recipe_link_style
Default LinkStyle impl driven by paint-recipe data.
recipe_list_container_style
Default ListContainerStyle impl.
recipe_menu_item_style
Default MenuItemStyle impl driven by paint-recipe data.
recipe_panel_style
Default PanelStyle impl driven by paint-recipe data.
recipe_popover_style
Default PopoverStyle impl driven by paint-recipe data.
recipe_progress_bar_style
Default ProgressBarStyle impl driven by paint-recipe data.
recipe_radio_style
Default RadioStyle impl driven by paint-recipe data.
recipe_radio_tile_style
Default RadioTileStyle impl driven by paint-recipe data.
recipe_rich_text_editor_style
Default RichTextEditorStyle impl.
recipe_scroll_bar_style
Default ScrollBarStyle impl driven by paint-recipe data.
recipe_search_field_style
Default SearchFieldStyle impl + design tokens.
recipe_segmented_control_style
Default SegmentedControlStyle impl driven by paint-recipe data.
recipe_slider_style
Default SliderStyle impl driven by paint-recipe data.
recipe_snackbar_style
Default SnackbarStyle impl driven by paint-recipe data.
recipe_spin_box_style
Default SpinBoxStyle impl driven by paint-recipe data.
recipe_split_button_style
Default SplitButtonStyle impl for SplitButton.
recipe_splitter_style
Default SplitterStyle impl — the IntUI divider-handle look.
recipe_standard_item_style
Default StandardItemStyle impl driven by paint-recipe data.
recipe_tab_style
Default TabStyle impl driven by paint-recipe data.
recipe_table_style
Default TableStyle impl + table-family design tokens.
recipe_text_input_style
Default TextInputStyle impl driven by paint-recipe data.
recipe_toast_style
Default ToastStyle impl driven by paint-recipe data.
recipe_toggle_style
Default ToggleStyle impl driven by paint-recipe data.
recipe_tooltip_style
Default TooltipStyle impl driven by paint-recipe data.