From 229f865e7e723d880be561e39dfe1456ef759603 Mon Sep 17 00:00:00 2001 From: mika kuns Date: Sat, 30 May 2026 16:50:32 +0200 Subject: [PATCH] refactor(ui): migrate DiffModal to ModalShell and use dynamic resources Replace manual titlebar/drag handler with ModalShell, move Merge button to footer, convert StaticResource token attrs to DynamicResource, snap font sizes to tokens, use MonoFont DynamicResource, and fold tint color literals to RunningTintBrush/ErrorTintBrush. Co-Authored-By: Claude Sonnet 4.6 --- .../Views/Modals/DiffModalView.axaml | 239 ++++++++---------- .../Views/Modals/DiffModalView.axaml.cs | 7 - 2 files changed, 109 insertions(+), 137 deletions(-) diff --git a/src/ClaudeDo.Ui/Views/Modals/DiffModalView.axaml b/src/ClaudeDo.Ui/Views/Modals/DiffModalView.axaml index cf74a38..1850aad 100644 --- a/src/ClaudeDo.Ui/Views/Modals/DiffModalView.axaml +++ b/src/ClaudeDo.Ui/Views/Modals/DiffModalView.axaml @@ -1,6 +1,7 @@ + Background="{DynamicResource SurfaceBrush}"> @@ -17,10 +18,10 @@ - - - + + + +