Skip to content

Commit d947531

Browse files
committed
Fix tooltip styling and workspace selection colors
- Use exact hex colors for tooltips: #2d2d30 bg, #d4d4d4 text, #464647 border - Fix tooltip caret to use #2d2d30 - Fix workspace base: neutral-800 → neutral-900 (darker) - Selected workspace stays neutral-800 (lighter than base)
1 parent 535b249 commit d947531

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/components/ProjectSidebar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ 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-800",
81+
"py-1 px-3 flex items-center border-l-transparent transition-all duration-150 bg-neutral-900",
8282
isDragging ? "cursor-grabbing opacity-40 [&_*]:!cursor-grabbing" : "cursor-grab",
8383
isOver && "bg-sky-600/[0.08]",
84-
selected && "bg-neutral-800 border-l-accent",
84+
selected selected && "bg-neutral-800 border-l-accent"selected && "bg-neutral-800 border-l-accent" "bg-white/[0.02] border-l-accent",
8585
"hover:bg-neutral-800 hover:[&_button]:opacity-100 hover:[&_[data-drag-handle]]:opacity-100"
8686
)}
8787
{...rest}

src/styles/globals.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ code {
141141
transform: translateX(-50%);
142142
margin-bottom: 8px;
143143
padding: 6px 10px;
144-
background: hsl(0 0% 18%);
145-
color: hsl(0 0% 83%);
146-
border: 1px solid hsl(0 0% 27%);
144+
background: #2d2d30;
145+
color: #d4d4d4;
146+
border: 1px solid #464647;
147147
border-radius: 4px;
148148
font-size: 11px;
149149
white-space: nowrap;
@@ -275,7 +275,7 @@ code {
275275
margin-bottom: 3px;
276276
border-width: 5px;
277277
border-style: solid;
278-
border-color: hsl(0 0% 18%) transparent transparent transparent;
278+
border-color: #2d2d30 transparent transparent transparent;
279279
z-index: 1000;
280280
pointer-events: none;
281281
}

0 commit comments

Comments
 (0)