Skip to content

Commit abeb044

Browse files
committed
πŸ€– fix: make message area darker and match sidebar to main exactly
- Message area: bg-neutral-800 β†’ bg-neutral-950 (darker than sidebars) - ProjectSidebar: bg-sky-600/[0.08] β†’ bg-accent/[0.08] (match main) - Added --color-accent to match main branch pattern
1 parent e9f42a6 commit abeb044

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

β€Žsrc/components/AIView.tsxβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ const AIViewInner: React.FC<AIViewProps> = ({
245245
return (
246246
<div
247247
className={cn(
248-
"flex flex-1 flex-row bg-neutral-800 text-neutral-300 overflow-x-auto overflow-y-hidden [@media(max-width:768px)]:flex-col",
248+
"flex flex-1 flex-row bg-neutral-950 text-neutral-300 overflow-x-auto overflow-y-hidden [@media(max-width:768px)]:flex-col",
249249
className
250250
)}
251251
style={{ containerType: "inline-size" }}
@@ -286,7 +286,7 @@ const AIViewInner: React.FC<AIViewProps> = ({
286286
return (
287287
<div
288288
className={cn(
289-
"flex flex-1 flex-row bg-neutral-800 text-neutral-300 overflow-x-auto overflow-y-hidden [@media(max-width:768px)]:flex-col",
289+
"flex flex-1 flex-row bg-neutral-950 text-neutral-300 overflow-x-auto overflow-y-hidden [@media(max-width:768px)]:flex-col",
290290
className
291291
)}
292292
style={{ containerType: "inline-size" }}
@@ -302,7 +302,7 @@ const AIViewInner: React.FC<AIViewProps> = ({
302302
return (
303303
<div
304304
className={cn(
305-
"flex flex-1 flex-row bg-neutral-800 text-neutral-300 overflow-x-auto overflow-y-hidden [@media(max-width:768px)]:flex-col",
305+
"flex flex-1 flex-row bg-neutral-950 text-neutral-300 overflow-x-auto overflow-y-hidden [@media(max-width:768px)]:flex-col",
306306
className
307307
)}
308308
style={{ containerType: "inline-size" }}
@@ -320,7 +320,7 @@ const AIViewInner: React.FC<AIViewProps> = ({
320320
return (
321321
<div
322322
className={cn(
323-
"flex flex-1 flex-row bg-neutral-800 text-neutral-300 overflow-x-auto overflow-y-hidden [@media(max-width:768px)]:flex-col",
323+
"flex flex-1 flex-row bg-neutral-950 text-neutral-300 overflow-x-auto overflow-y-hidden [@media(max-width:768px)]:flex-col",
324324
className
325325
)}
326326
style={{ containerType: "inline-size" }}
@@ -329,7 +329,7 @@ const AIViewInner: React.FC<AIViewProps> = ({
329329
ref={chatAreaRef}
330330
className="flex min-w-96 flex-1 flex-col [@media(max-width:768px)]:max-h-full [@media(max-width:768px)]:w-full [@media(max-width:768px)]:min-w-0"
331331
>
332-
<div className="flex items-center justify-between border-b border-neutral-800 bg-neutral-800 px-[15px] py-1 [@media(max-width:768px)]:flex-wrap [@media(max-width:768px)]:gap-2 [@media(max-width:768px)]:py-2 [@media(max-width:768px)]:pl-[60px]">
332+
<div className="flex items-center justify-between border-b border-neutral-800 bg-neutral-950 px-[15px] py-1 [@media(max-width:768px)]:flex-wrap [@media(max-width:768px)]:gap-2 [@media(max-width:768px)]:py-2 [@media(max-width:768px)]:pl-[60px]">
333333
<div className="flex min-w-0 items-center gap-2 overflow-hidden font-semibold text-neutral-300">
334334
<StatusIndicator
335335
streaming={canInterrupt}

β€Žsrc/components/ProjectSidebar.tsxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const DraggableProjectItemBase: React.FC<DraggableProjectItemProps> = ({
8080
className={cn(
8181
"py-1 px-3 flex items-center border-l-transparent transition-all duration-150 bg-separator",
8282
isDragging ? "cursor-grabbing opacity-40 [&_*]:!cursor-grabbing" : "cursor-grab",
83-
isOver && "bg-sky-600/[0.08]",
83+
isOver && "bg-accent/[0.08]",
8484
selected && "bg-hover border-l-accent",
8585
"hover:bg-hover hover:[&_button]:opacity-100 hover:[&_[data-drag-handle]]:opacity-100"
8686
)}

β€Žsrc/styles/globals.cssβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
--color-hover: hsl(0 0% 16.5%); /* #2a2a2b - hover/selected states */
3737
--color-border: hsl(0 0% 25%); /* #404040 - base borders */
3838
--color-border-light: hsl(0 0% 27%); /* #464647 - lighter borders */
39+
--color-accent: hsl(207 100% 40%); /* #007acc - VS Code blue */
3940

4041
/* Message Borders */
4142
--color-user-border: hsl(0 0% 38%);

0 commit comments

Comments
Β (0)