Skip to content

Commit e9f42a6

Browse files
committed
πŸ€– fix: lighten message area and fix project sidebar border
- Message area: bg-neutral-900 β†’ bg-neutral-800 (lighter) - ProjectSidebar collapse border: border-neutral-900 β†’ border-hover (match main)
1 parent b3f0f1a commit e9f42a6

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
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-900 text-neutral-300 overflow-x-auto overflow-y-hidden [@media(max-width:768px)]:flex-col",
248+
"flex flex-1 flex-row bg-neutral-800 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-900 text-neutral-300 overflow-x-auto overflow-y-hidden [@media(max-width:768px)]:flex-col",
289+
"flex flex-1 flex-row bg-neutral-800 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-900 text-neutral-300 overflow-x-auto overflow-y-hidden [@media(max-width:768px)]:flex-col",
305+
"flex flex-1 flex-row bg-neutral-800 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-900 text-neutral-300 overflow-x-auto overflow-y-hidden [@media(max-width:768px)]:flex-col",
323+
"flex flex-1 flex-row bg-neutral-800 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-900 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-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]">
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
@@ -592,7 +592,7 @@ const ProjectSidebarInner: React.FC<ProjectSidebarProps> = ({
592592
: `Expand workspaces older than ${formatOldWorkspaceThreshold()}`
593593
}
594594
aria-expanded={showOldWorkspaces}
595-
className="flex w-full cursor-pointer items-center justify-between border-t border-none border-neutral-900 bg-transparent px-3 py-2 pl-[22px] text-xs font-medium text-neutral-400 transition-all duration-150 hover:bg-white/[0.03] hover:text-neutral-400 [&:hover_.arrow]:text-neutral-400"
595+
className="border-hover flex w-full cursor-pointer items-center justify-between border-t border-none bg-transparent px-3 py-2 pl-[22px] text-xs font-medium text-neutral-400 transition-all duration-150 hover:bg-white/[0.03] hover:text-neutral-400 [&:hover_.arrow]:text-neutral-400"
596596
>
597597
<div className="flex items-center gap-1.5">
598598
<span>Older than {formatOldWorkspaceThreshold()}</span>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,9 @@
3131
--color-git-dirty: hsl(38 92% 50%);
3232
--color-code-bg: hsl(0 6.43% 8.04%);
3333

34-
/* Sidebar Colors */
34+
/* Sidebar and border colors - kept minimal for semantic meaning */
3535
--color-separator: hsl(0 0% 15%); /* #252526 - base sidebar bg */
3636
--color-hover: hsl(0 0% 16.5%); /* #2a2a2b - hover/selected states */
37-
38-
/* Borders */
3937
--color-border: hsl(0 0% 25%); /* #404040 - base borders */
4038
--color-border-light: hsl(0 0% 27%); /* #464647 - lighter borders */
4139

0 commit comments

Comments
Β (0)