Skip to content

Commit 2780b5a

Browse files
committed
Lighten sidebars and input area, fix scrollbar blue tint
- Sidebars: neutral-900 → neutral-800 (lighter) - Chat input area: neutral-900 → neutral-800 (lighter) - Scrollbar: gray → neutral (removes blue tint) - Main message area: kept at neutral-900
1 parent e488a7c commit 2780b5a

File tree

6 files changed

+23
-23
lines changed

6 files changed

+23
-23
lines changed

src/components/ChatInput.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ export const ChatInput: React.FC<ChatInputProps> = ({
704704

705705
return (
706706
<div
707-
className="relative flex flex-col gap-1 border-t border-neutral-800 bg-neutral-900 px-[15px] pt-[5px] pb-[15px]"
707+
className="relative flex flex-col gap-1 border-t border-neutral-800 bg-neutral-800 px-[15px] pt-[5px] pb-[15px]"
708708
style={{ containerType: "inline-size" }}
709709
data-component="ChatInputSection"
710710
>
@@ -782,7 +782,7 @@ export const ChatInput: React.FC<ChatInputProps> = ({
782782
<div className="max-@[700px]:hidden ml-auto flex items-center gap-1.5">
783783
<div
784784
className={cn(
785-
"flex gap-0 bg-neutral-900 rounded",
785+
"flex gap-0 bg-neutral-800 rounded",
786786
"[&>button:first-of-type]:rounded-l [&>button:last-of-type]:rounded-r",
787787
mode === "exec" &&
788788
"[&>button:first-of-type]:bg-exec-mode [&>button:first-of-type]:text-white [&>button:first-of-type]:hover:bg-exec-mode-hover",

src/components/ChatMetaSidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const ChatMetaSidebarComponent: React.FC<ChatMetaSidebarProps> = ({ workspaceId,
5959
return (
6060
<div
6161
className={cn(
62-
"bg-neutral-900 border-l border-neutral-800 flex flex-col overflow-hidden transition-[width] duration-200 flex-shrink-0",
62+
"bg-neutral-800 border-l border-neutral-800 flex flex-col overflow-hidden transition-[width] duration-200 flex-shrink-0",
6363
showCollapsed ? "w-5 sticky right-0 z-10 shadow-[-2px_0_4px_rgba(0,0,0,0.2)]" : "w-80"
6464
)}
6565
role="complementary"

src/components/LeftSidebar.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ export function LeftSidebar(props: LeftSidebarProps) {
4646
aria-label="Open sidebar menu"
4747
className={cn(
4848
"hidden max-md:flex fixed top-3 left-3 z-[998]",
49-
"w-10 h-10 bg-neutral-900 border border-neutral-800 rounded-md cursor-pointer",
49+
"w-10 h-10 bg-neutral-800 border border-neutral-800 rounded-md cursor-pointer",
5050
"items-center justify-center text-neutral-300 text-xl transition-all duration-200",
5151
"shadow-[0_2px_4px_rgba(0,0,0,0.3)]",
52-
"hover:bg-neutral-900 hover:border-neutral-800",
52+
"hover:bg-neutral-800 hover:border-neutral-800",
5353
"active:scale-95"
5454
)}
5555
>
@@ -69,7 +69,7 @@ export function LeftSidebar(props: LeftSidebarProps) {
6969
{/* Sidebar */}
7070
<div
7171
className={cn(
72-
"h-screen bg-neutral-900 border-r border-neutral-950 flex flex-col shrink-0",
72+
"h-screen bg-neutral-800 border-r border-neutral-950 flex flex-col shrink-0",
7373
"transition-all duration-200 overflow-hidden relative z-[100]",
7474
collapsed ? "w-8" : "w-72",
7575
"max-md:fixed max-md:left-0 max-md:top-0 max-md:w-72 max-md:z-[1000]",

src/components/ProjectSidebar.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ const DraggableProjectItemBase: React.FC<DraggableProjectItemProps> = ({
7878
<div
7979
ref={(node) => drag(drop(node))}
8080
className={cn(
81-
"py-1 px-3 flex items-center border-l-transparent transition-all duration-150 bg-neutral-900",
81+
"py-1 px-3 flex items-center border-l-transparent transition-all duration-150 bg-neutral-800",
8282
isDragging ? "cursor-grabbing opacity-40 [&_*]:!cursor-grabbing" : "cursor-grab",
8383
isOver && "bg-sky-600/[0.08]",
84-
selected && "bg-neutral-900 border-l-accent",
85-
"hover:bg-neutral-900 hover:[&_button]:opacity-100 hover:[&_[data-drag-handle]]:opacity-100"
84+
selected && "bg-neutral-800 border-l-accent",
85+
"hover:bg-neutral-800 hover:[&_button]:opacity-100 hover:[&_[data-drag-handle]]:opacity-100"
8686
)}
8787
{...rest}
8888
>
@@ -136,7 +136,7 @@ const ProjectDragLayer: React.FC = () => {
136136
return (
137137
<div className="pointer-events-none fixed inset-0 z-[9999] cursor-grabbing">
138138
<div style={{ transform: `translate(${currentOffset.x + 10}px, ${currentOffset.y + 10}px)` }}>
139-
<div className="border-l-accent flex w-fit max-w-72 min-w-44 items-center rounded border-l-[3px] bg-neutral-900/95 px-3 py-1.5 text-neutral-300 shadow-[0_6px_24px_rgba(0,0,0,0.4)]">
139+
<div className="border-l-accent flex w-fit max-w-72 min-w-44 items-center rounded border-l-[3px] bg-neutral-800/95 px-3 py-1.5 text-neutral-300 shadow-[0_6px_24px_rgba(0,0,0,0.4)]">
140140
<span className="mr-1.5 text-xs text-neutral-400"></span>
141141
<span className="mr-2 text-[10px] text-neutral-400"></span>
142142
<div className="min-w-0 flex-1">
@@ -416,21 +416,21 @@ const ProjectSidebarInner: React.FC<ProjectSidebarProps> = ({
416416
<DndProvider backend={HTML5Backend}>
417417
<ProjectDragLayer />
418418
<div
419-
className="font-primary flex flex-1 flex-col overflow-hidden border-r border-neutral-800 bg-neutral-900"
419+
className="font-primary flex flex-1 flex-col overflow-hidden border-r border-neutral-800 bg-neutral-800"
420420
role="navigation"
421421
aria-label="Projects"
422422
>
423423
{!collapsed && (
424424
<>
425-
<div className="flex items-center justify-between border-b border-neutral-950 bg-neutral-900 p-4">
425+
<div className="flex items-center justify-between border-b border-neutral-950 bg-neutral-800 p-4">
426426
<h2 className="m-0 text-[13px] font-semibold tracking-[0.8px] text-neutral-300 uppercase">
427427
Projects
428428
</h2>
429429
<TooltipWrapper inline>
430430
<button
431431
onClick={onAddProject}
432432
aria-label="Add project"
433-
className="flex h-6 w-6 cursor-pointer items-center justify-center rounded border border-transparent bg-transparent p-0 text-lg text-neutral-300 transition-all duration-200 hover:border-neutral-800 hover:bg-neutral-900"
433+
className="flex h-6 w-6 cursor-pointer items-center justify-center rounded border border-transparent bg-transparent p-0 text-lg text-neutral-300 transition-all duration-200 hover:border-neutral-800 hover:bg-neutral-800"
434434
>
435435
+
436436
</button>
@@ -549,7 +549,7 @@ const ProjectSidebarInner: React.FC<ProjectSidebarProps> = ({
549549
onClick={() => onAddWorkspace(projectPath)}
550550
data-project-path={projectPath}
551551
aria-label={`Add workspace to ${projectName}`}
552-
className="hover:border-neutral-800-darker w-full cursor-pointer rounded border border-dashed border-neutral-700 bg-transparent px-3 py-1.5 text-left text-[13px] text-neutral-400 transition-all duration-200 hover:bg-neutral-900 hover:text-neutral-300"
552+
className="hover:border-neutral-800-darker w-full cursor-pointer rounded border border-dashed border-neutral-700 bg-transparent px-3 py-1.5 text-left text-[13px] text-neutral-400 transition-all duration-200 hover:bg-neutral-800 hover:text-neutral-300"
553553
>
554554
+ New Workspace
555555
{selectedWorkspace?.projectPath === projectPath &&
@@ -629,7 +629,7 @@ const ProjectSidebarInner: React.FC<ProjectSidebarProps> = ({
629629
<TooltipWrapper inline>
630630
<button
631631
onClick={onToggleCollapsed}
632-
className="mt-auto flex h-9 w-full cursor-pointer items-center justify-center border-t border-none border-neutral-950 bg-transparent p-0 text-sm text-neutral-400 transition-all duration-200 hover:bg-neutral-900 hover:text-neutral-300"
632+
className="mt-auto flex h-9 w-full cursor-pointer items-center justify-center border-t border-none border-neutral-950 bg-transparent p-0 text-sm text-neutral-400 transition-all duration-200 hover:bg-neutral-800 hover:text-neutral-300"
633633
>
634634
{collapsed ? "»" : "«"}
635635
</button>

src/components/RightSidebar.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const SidebarContainer: React.FC<SidebarContainerProps> = ({
4949
return (
5050
<div
5151
className={cn(
52-
"bg-neutral-900 border-l border-neutral-800 flex flex-col overflow-hidden flex-shrink-0",
52+
"bg-neutral-800 border-l border-neutral-800 flex flex-col overflow-hidden flex-shrink-0",
5353
customWidth ? "" : "transition-[width] duration-200",
5454
collapsed && "sticky right-0 z-10 shadow-[-2px_0_4px_rgba(0,0,0,0.2)]",
5555
"max-md:border-l-0 max-md:border-t max-md:border-neutral-800",
@@ -201,7 +201,7 @@ const RightSidebarComponent: React.FC<RightSidebarProps> = ({
201201
<div className={cn("flex-row h-full", !showCollapsed ? "flex" : "hidden")}>
202202
{/* Render meter when Review tab is active */}
203203
{selectedTab === "review" && (
204-
<div className="flex w-5 shrink-0 flex-col border-r border-neutral-800 bg-neutral-900">
204+
<div className="flex w-5 shrink-0 flex-col border-r border-neutral-800 bg-neutral-800">
205205
{verticalMeter}
206206
</div>
207207
)}
@@ -220,7 +220,7 @@ const RightSidebarComponent: React.FC<RightSidebarProps> = ({
220220

221221
<div className="flex min-w-0 flex-1 flex-col">
222222
<div
223-
className="bg-neutral-900-secondary flex border-b border-neutral-800 [&>*]:flex-1"
223+
className="bg-neutral-800-secondary flex border-b border-neutral-800 [&>*]:flex-1"
224224
role="tablist"
225225
aria-label="Metadata views"
226226
>
@@ -229,8 +229,8 @@ const RightSidebarComponent: React.FC<RightSidebarProps> = ({
229229
className={cn(
230230
"w-full py-2.5 px-[15px] border-none border-solid cursor-pointer font-primary text-[13px] font-medium transition-all duration-200",
231231
selectedTab === "costs"
232-
? "text-white bg-neutral-900 border-b-2 border-b-plan-mode"
233-
: "bg-transparent text-neutral-400 border-b-2 border-b-transparent hover:bg-neutral-900-secondary hover:text-neutral-300"
232+
? "text-white bg-neutral-800 border-b-2 border-b-plan-mode"
233+
: "bg-transparent text-neutral-400 border-b-2 border-b-transparent hover:bg-neutral-800-secondary hover:text-neutral-300"
234234
)}
235235
onClick={() => setSelectedTab("costs")}
236236
id={costsTabId}
@@ -250,8 +250,8 @@ const RightSidebarComponent: React.FC<RightSidebarProps> = ({
250250
className={cn(
251251
"w-full py-2.5 px-[15px] border-none border-solid cursor-pointer font-primary text-[13px] font-medium transition-all duration-200",
252252
selectedTab === "review"
253-
? "text-white bg-neutral-900 border-b-2 border-b-plan-mode"
254-
: "bg-transparent text-neutral-400 border-b-2 border-b-transparent hover:bg-neutral-900-secondary hover:text-neutral-300"
253+
? "text-white bg-neutral-800 border-b-2 border-b-plan-mode"
254+
: "bg-transparent text-neutral-400 border-b-2 border-b-transparent hover:bg-neutral-800-secondary hover:text-neutral-300"
255255
)}
256256
onClick={() => setSelectedTab("review")}
257257
id={reviewTabId}

src/styles/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ body {
9090
/* Firefox scrollbar */
9191
* {
9292
scrollbar-width: thin;
93-
scrollbar-color: theme(colors.gray.600) theme(colors.gray.900);
93+
scrollbar-color: theme(colors.neutral.500) theme(colors.neutral.800);
9494
}
9595

9696
/* Root container */

0 commit comments

Comments
 (0)