From 8f432e630be71c8baa84e75eed2e006a1ad89f7c Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Sat, 21 Nov 2026 13:13:40 -0500 Subject: [PATCH] Use dark graphite surfaces for PdfCraft --- crates/ui-egui/src/app.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/ui-egui/src/app.rs b/crates/ui-egui/src/app.rs index 74669f615b..8f4b593286 100644 --- a/crates/ui-egui/src/app.rs +++ b/crates/ui-egui/src/app.rs @@ -520,6 +520,9 @@ impl PdfCraftApp { let native = ctx.native_pixels_per_point().unwrap_or(1.0); let mut root = RootEnv::new().mode(self.theme_preference).density(craft::theme::Size::Comfortable).direction(direction).scale(Scale::new(crate::ui_scale::zoom(self.ui_scale, system, native))); + if let Ok(theme) = craft::theme::ThemeId::parse("craft.graphite") { + root.set_theme(theme); + } root.sizes = Arc::clone(sizes); root.motion = self.animation_effects; // Today is the session's day, the one its date formats and Fill & Sign's Date tool use: the calendars ring it