T09b overlays: lightbox, spotlight and tour, floating toolbar, peek; images fill their box; overlays take focus back when its element leaves the tree

This commit is contained in:
ZacharyZhang-NY committed 2026-09-25 15:19:57 -04:00
1 parent ca73d24c01
commit ef74bac823
18 files changed
+1754 -228

No files matched your search

+5
View File
@@ -233,6 +233,11 @@ impl Theme {
(px_to_rems(84.0), px_to_rems(40.0))
}
/// Room between a box and what floats by it: a spotlight's ring, a selection's toolbar.
pub fn float_gap(&self) -> Rems {
px_to_rems(6.0)
}
/// Width of a dialog's card.
pub fn dialog_width(&self) -> Rems {
px_to_rems(440.0)