From 29d449eb9b5055d435a87377811815adc8468b95 Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 27 Jun 2026 19:21:10 -0700 Subject: [PATCH] style(app): bump base spacing + card title size for legibility --- src/app.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/app.rs b/src/app.rs index fab8011..b056852 100644 --- a/src/app.rs +++ b/src/app.rs @@ -431,6 +431,12 @@ impl App { theme::apply(&cc.egui_ctx, &config.ui.theme); let theme_accents = theme::accents_for(&config.ui.theme); let default_view_mode = ViewMode::from_config(&config.ui.default_view_mode); + // Typography & spacing baseline: slightly larger base text, more + // breathable item spacing, comfortable button padding. + let mut style = (*cc.egui_ctx.style()).clone(); + style.spacing.item_spacing = egui::vec2(8.0, 5.0); + style.spacing.button_padding = egui::vec2(6.0, 3.0); + cc.egui_ctx.set_style(style); // Restore the persisted global UI zoom. egui's built-in Ctrl +/-/0 // also drives zoom_factor; update() keeps config.ui.ui_scale synced // and persists changes so the size survives restarts. @@ -4547,6 +4553,7 @@ impl App { selected, egui::RichText::new(&card.title) .strong() + .size(14.0) .color(title_color), ) .clicked()