Merge branch 'look-fix/theme' into area/app-1

This commit is contained in:
Dylan M. Taylor
2026-11-21 13:37:57 -05:00
+3
View File
@@ -521,6 +521,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