From bb5e824c9fcbd76c93ef15b304f89f8b6999f32c Mon Sep 17 00:00:00 2001 From: maria Date: Thu, 10 Sep 2026 02:18:01 -0300 Subject: [PATCH] feat: add blue and orange diff color palette (#10671) --- apps/web/src/components/GitActionsControl.tsx | 8 +-- apps/web/src/components/Sidebar.tsx | 4 +- .../web/src/components/chat/DiffStatLabel.tsx | 4 +- .../pullRequest/pullRequestPresentation.tsx | 6 +-- .../components/settings/SettingsPanels.tsx | 51 +++++++++++++++++++ .../src/components/settings/settingsSearch.ts | 6 +++ apps/web/src/index.css | 26 ++++++++++ apps/web/src/lib/diffRendering.ts | 24 ++++----- apps/web/src/routes/__root.tsx | 5 ++ packages/contracts/src/settings.test.ts | 17 +++++++ packages/contracts/src/settings.ts | 6 +++ 11 files changed, 133 insertions(+), 24 deletions(-) diff --git a/apps/web/src/components/GitActionsControl.tsx b/apps/web/src/components/GitActionsControl.tsx index f816f60b402688bcc8f2c1af0073618ff2e8de9d..aa3767a3155abe05d3da78663347eb4b24064b07 100644 --- a/apps/web/src/components/GitActionsControl.tsx +++ b/apps/web/src/components/GitActionsControl.tsx @@ -1878,9 +1878,9 @@ export default function GitActionsControl({ Excluded ) : ( <> - +{file.insertions} + +{file.insertions} / - -{file.deletions} + -{file.deletions} )} @@ -1891,11 +1891,11 @@ export default function GitActionsControl({
- + +{selectedFiles.reduce((sum, f) => sum + f.insertions, 0)} / - + -{selectedFiles.reduce((sum, f) => sum + f.deletions, 0)}
diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx index 78c59e296b90a85e5d98a21d5f29ba02526479e6..79573635212ec5ee4591900e90283c9e1fd53c20 100644 --- a/apps/web/src/components/Sidebar.tsx +++ b/apps/web/src/components/Sidebar.tsx @@ -1932,8 +1932,8 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: { ) : null} {diff ? ( - +{diff.insertions}{" "} - −{diff.deletions} + +{diff.insertions}{" "} + −{diff.deletions} ) : null} -