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
10
11
12
13
//! Resolved concrete style values for a Button in a given state.

/// Fully resolved colors and metrics for painting a button.
pub struct ResolvedButtonStyle {
    pub bg: egui::Color32,
    pub fg: egui::Color32,
    pub border: Option<egui::Color32>,
    pub corner_radius: f32,
    pub height: f32,
    pub h_padding: f32,
    pub font_size: f32,
    pub underline: bool,
}