Skip to main content

card_radius

Function card_radius 

pub fn card_radius(theme: &Theme) -> f64
Expand description

The radius of a floating card: a notification banner, a toast, and the status cards that stand in a column with them. One floating card is one shape everywhere, the floating Panel’s (radii.panel), so a banner, the palette and a menu never disagree about their corners.