functora-egui 0.4.2

shadcn/ui-inspired widget library for egui - buttons, inputs, selects, dialogs, and 70+ more components with light/dark theming
Documentation
1
2
3
4
5
6
7
8
9
//! Resolved concrete style values for a Toggle.

/// Fully resolved colors for painting a toggle button.
pub struct ResolvedToggleStyle {
    pub bg: egui::Color32,
    pub fg: egui::Color32,
    pub border: Option<egui::Color32>,
    pub corner_radius: f32,
}