From 4a0af512d0181d4cae01632da32746d3309529a9 Mon Sep 17 00:00:00 2001 From: iotserver24 <147928812+iotserver24@users.noreply.github.com> Date: Fri, 22 May 2026 06:24:26 +0000 Subject: [PATCH] style(desktop): refine UI for a cleaner, flatter, dark-mode aesthetic Updated the `/packages/desktop` styling to mirror modern coding assistants (like Claude/Cursor). - Adjusted `global.css` variables to use softer, grayscale dark background colors instead of harsh blacks, while keeping semantic colors intact. - Removed borders from the app header and left navigation pane in `App.tsx` for a seamless layout. - Flattened the chat input pill in `ChatPanel.tsx` and removed its external borders. - Simplified message bubbles in `MessageBubble.tsx`, making user bubbles borderless with subtle text. - Cleaned up the `ToolCallCard.tsx` design to act as a flat block rather than an outlined card. --- packages/desktop/src/renderer/App.tsx | 4 ++-- .../desktop/src/renderer/components/ChatPanel.tsx | 4 ++-- .../src/renderer/components/MessageBubble.tsx | 2 +- .../desktop/src/renderer/components/ToolCallCard.tsx | 2 +- packages/desktop/src/renderer/styles/global.css | 12 ++++++------ 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/desktop/src/renderer/App.tsx b/packages/desktop/src/renderer/App.tsx index 3ce2516..afee4b7 100644 --- a/packages/desktop/src/renderer/App.tsx +++ b/packages/desktop/src/renderer/App.tsx @@ -319,7 +319,7 @@ export default function App() { return (
{/* Header */} -
+
diff --git a/packages/desktop/src/renderer/components/MessageBubble.tsx b/packages/desktop/src/renderer/components/MessageBubble.tsx index da57468..118b35b 100644 --- a/packages/desktop/src/renderer/components/MessageBubble.tsx +++ b/packages/desktop/src/renderer/components/MessageBubble.tsx @@ -15,7 +15,7 @@ const MessageBubble = memo(function MessageBubble({ role, content, isStreaming } if (isUser) { return (
-
+
{content}
diff --git a/packages/desktop/src/renderer/components/ToolCallCard.tsx b/packages/desktop/src/renderer/components/ToolCallCard.tsx index efaa667..eb2ffcd 100644 --- a/packages/desktop/src/renderer/components/ToolCallCard.tsx +++ b/packages/desktop/src/renderer/components/ToolCallCard.tsx @@ -16,7 +16,7 @@ const ToolCallCard = memo(function ToolCallCard({ toolName, toolInput, toolOutpu const outputStr = toolOutput ? (typeof toolOutput === 'string' ? toolOutput : JSON.stringify(toolOutput, null, 2)) : ''; return ( -
+