chore: use theme::spacing() where applicable

This commit is contained in:
Vukašin Vojinović 2025-04-01 21:13:52 +02:00 committed by Michael Murphy
parent 227f7a76b1
commit 1486569481
12 changed files with 22 additions and 26 deletions

View file

@ -53,7 +53,7 @@ impl<'a, Message: Clone + 'static> ContextDrawer<'a, Message> {
space_m,
space_l,
..
} = crate::theme::active().cosmic().spacing;
} = crate::theme::spacing();
let horizontal_padding = if max_width < 392.0 { space_s } else { space_l };