Skip to main content

style

Function style 

Source
pub fn style(
    palette: &Palette,
    surface: &Surface,
    density: Density,
    radius: CornerRadius,
) -> Style
Expand description

The whole design system as one egui Style.

The three above, composed. An app that wants all of it calls this and sets the result; an app that wants to keep one of its own calls the pieces.