Skip to content

Commit 4092c89

Browse files
committed
Brighten UI colors to match original lightness
- text-neutral-200 → text-neutral-300 (main text, closer to original 83% lightness) - text-neutral-600 → text-neutral-500 (secondary text) - text-neutral-500 → text-neutral-400 (muted text) - Brighten scrollbar colors to match
1 parent 3961840 commit 4092c89

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+207
-198
lines changed

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ function AppInner() {
701701
</ErrorBoundary>
702702
) : (
703703
<div
704-
className="mx-auto w-full max-w-3xl text-center [&_h2]:mb-4 [&_h2]:font-bold [&_h2]:tracking-tight [&_h2]:text-white [&_p]:leading-[1.6] [&_p]:text-neutral-500"
704+
className="mx-auto w-full max-w-3xl text-center [&_h2]:mb-4 [&_h2]:font-bold [&_h2]:tracking-tight [&_h2]:text-white [&_p]:leading-[1.6] [&_p]:text-neutral-400"
705705
style={{
706706
padding: "clamp(40px, 10vh, 100px) 20px",
707707
fontSize: "clamp(14px, 2vw, 16px)",

src/components/AIView.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -245,12 +245,12 @@ const AIViewInner: React.FC<AIViewProps> = ({
245245
return (
246246
<div
247247
className={cn(
248-
"flex flex-1 flex-row bg-neutral-950 text-neutral-200 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" }}
252252
>
253-
<div className="flex h-full flex-1 flex-col items-center justify-center text-center text-neutral-500">
253+
<div className="flex h-full flex-1 flex-col items-center justify-center text-center text-neutral-400">
254254
<h3 className="m-0 mb-2.5 text-base font-medium">Loading workspace...</h3>
255255
</div>
256256
</div>
@@ -286,12 +286,12 @@ const AIViewInner: React.FC<AIViewProps> = ({
286286
return (
287287
<div
288288
className={cn(
289-
"flex flex-1 flex-row bg-neutral-950 text-neutral-200 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" }}
293293
>
294-
<div className="flex h-full flex-1 flex-col items-center justify-center text-center text-neutral-500">
294+
<div className="flex h-full flex-1 flex-col items-center justify-center text-center text-neutral-400">
295295
<h3 className="m-0 mb-2.5 text-base font-medium">Loading workspace...</h3>
296296
</div>
297297
</div>
@@ -302,12 +302,12 @@ const AIViewInner: React.FC<AIViewProps> = ({
302302
return (
303303
<div
304304
className={cn(
305-
"flex flex-1 flex-row bg-neutral-950 text-neutral-200 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" }}
309309
>
310-
<div className="flex h-full flex-1 flex-col items-center justify-center text-center text-neutral-500">
310+
<div className="flex h-full flex-1 flex-col items-center justify-center text-center text-neutral-400">
311311
<h3 className="m-0 mb-2.5 text-base font-medium">No Workspace Selected</h3>
312312
<p className="m-0 text-[13px]">
313313
Select a workspace from the sidebar to view and interact with Claude
@@ -320,7 +320,7 @@ const AIViewInner: React.FC<AIViewProps> = ({
320320
return (
321321
<div
322322
className={cn(
323-
"flex flex-1 flex-row bg-neutral-950 text-neutral-200 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" }}
@@ -330,7 +330,7 @@ const AIViewInner: React.FC<AIViewProps> = ({
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
>
332332
<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]">
333-
<div className="flex min-w-0 items-center gap-2 overflow-hidden font-semibold text-neutral-200">
333+
<div className="flex min-w-0 items-center gap-2 overflow-hidden font-semibold text-neutral-300">
334334
<StatusIndicator
335335
streaming={canInterrupt}
336336
title={
@@ -345,13 +345,13 @@ const AIViewInner: React.FC<AIViewProps> = ({
345345
<span className="min-w-0 truncate font-mono text-xs">
346346
{projectName} / {branch}
347347
</span>
348-
<span className="min-w-0 truncate font-mono text-[11px] font-normal text-neutral-500">
348+
<span className="min-w-0 truncate font-mono text-[11px] font-normal text-neutral-400">
349349
{namedWorkspacePath}
350350
</span>
351351
<TooltipWrapper inline>
352352
<button
353353
onClick={handleOpenTerminal}
354-
className="flex cursor-pointer items-center justify-center border-none bg-transparent p-1 text-neutral-500 transition-colors hover:text-neutral-200 [&_svg]:h-4 [&_svg]:w-4"
354+
className="flex cursor-pointer items-center justify-center border-none bg-transparent p-1 text-neutral-400 transition-colors hover:text-neutral-300 [&_svg]:h-4 [&_svg]:w-4"
355355
>
356356
<svg viewBox="0 0 16 16" fill="currentColor">
357357
<path d="M0 2.75C0 1.784.784 1 1.75 1h12.5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0114.25 15H1.75A1.75 1.75 0 010 13.25V2.75zm1.75-.25a.25.25 0 00-.25.25v10.5c0 .138.112.25.25.25h12.5a.25.25 0 00.25-.25V2.75a.25.25 0 00-.25-.25H1.75zM7.25 8a.75.75 0 01-.22.53l-2.25 2.25a.75.75 0 01-1.06-1.06L5.44 8 3.72 6.28a.75.75 0 111.06-1.06l2.25 2.25c.141.14.22.331.22.53zm1.5 1.5a.75.75 0 000 1.5h3a.75.75 0 000-1.5h-3z" />
@@ -378,7 +378,7 @@ const AIViewInner: React.FC<AIViewProps> = ({
378378
className="h-full overflow-y-auto p-[15px] leading-[1.5] break-words whitespace-pre-wrap"
379379
>
380380
{mergedMessages.length === 0 ? (
381-
<div className="flex h-full flex-1 flex-col items-center justify-center text-center text-neutral-500 [&_h3]:m-0 [&_h3]:mb-2.5 [&_h3]:text-base [&_h3]:font-medium [&_p]:m-0 [&_p]:text-[13px]">
381+
<div className="flex h-full flex-1 flex-col items-center justify-center text-center text-neutral-400 [&_h3]:m-0 [&_h3]:mb-2.5 [&_h3]:text-base [&_h3]:font-medium [&_p]:m-0 [&_p]:text-[13px]">
382382
<h3>No Messages Yet</h3>
383383
<p>Send a message below to begin</p>
384384
</div>

src/components/ChatInputToast.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ interface ChatInputToastProps {
2222
}
2323

2424
export const SolutionLabel: React.FC<{ children: ReactNode }> = ({ children }) => (
25-
<div className="text-neutral-500-light mb-1 text-[10px] uppercase">{children}</div>
25+
<div className="text-neutral-400-light mb-1 text-[10px] uppercase">{children}</div>
2626
);
2727

2828
export const ChatInputToast: React.FC<ChatInputToastProps> = ({ toast, onDismiss }) => {
@@ -71,7 +71,7 @@ export const ChatInputToast: React.FC<ChatInputToastProps> = ({ toast, onDismiss
7171
<span className="text-sm leading-none"></span>
7272
<div className="flex-1">
7373
{toast.title && <div className="mb-1.5 font-semibold">{toast.title}</div>}
74-
<div className="mt-1.5 leading-[1.4] text-neutral-200">{toast.message}</div>
74+
<div className="mt-1.5 leading-[1.4] text-neutral-300">{toast.message}</div>
7575
{toast.solution && (
7676
<div className="font-monospace text-code-type mt-2 rounded bg-neutral-950 px-2 py-1.5 text-[11px]">
7777
{toast.solution}

src/components/CommandSuggestions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export const CommandSuggestions: React.FC<CommandSuggestionsProps> = ({
114114
</div>
115115
</div>
116116
))}
117-
<div className="shrink-0 border-t border-neutral-800 bg-neutral-950 px-2.5 py-1 text-center text-[10px] text-neutral-500 [&_span]:font-medium [&_span]:text-neutral-400">
117+
<div className="shrink-0 border-t border-neutral-800 bg-neutral-950 px-2.5 py-1 text-center text-[10px] text-neutral-400 [&_span]:font-medium [&_span]:text-neutral-400">
118118
<span>Tab</span> to complete • <span>↑↓</span> to navigate • <span>Esc</span> to dismiss
119119
</div>
120120
</div>

src/components/Context1MCheckbox.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const Context1MCheckbox: React.FC<Context1MCheckboxProps> = ({ modelStrin
1717

1818
return (
1919
<div className="ml-2 flex items-center gap-1.5">
20-
<label className="flex cursor-pointer items-center gap-1 truncate text-[10px] text-neutral-200 select-none hover:text-white">
20+
<label className="flex cursor-pointer items-center gap-1 truncate text-[10px] text-neutral-300 select-none hover:text-white">
2121
<input
2222
type="checkbox"
2323
checked={use1M}
@@ -27,7 +27,7 @@ export const Context1MCheckbox: React.FC<Context1MCheckboxProps> = ({ modelStrin
2727
1M Context
2828
</label>
2929
<TooltipWrapper inline>
30-
<span className="flex cursor-help items-center text-[10px] leading-none text-neutral-500">
30+
<span className="flex cursor-help items-center text-[10px] leading-none text-neutral-400">
3131
?
3232
</span>
3333
<Tooltip className="tooltip" align="center" width="auto">

src/components/DirectorySelectModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export const DirectorySelectModal: React.FC = () => {
8282
onKeyDown={handleKeyDown}
8383
placeholder="/home/user/projects/my-project"
8484
autoFocus
85-
className="mb-5 w-full rounded border border-neutral-700 bg-neutral-900 px-3 py-2 font-mono text-sm text-white placeholder:text-neutral-500 focus:border-sky-600 focus:outline-none"
85+
className="mb-5 w-full rounded border border-neutral-700 bg-neutral-900 px-3 py-2 font-mono text-sm text-white placeholder:text-neutral-400 focus:border-sky-600 focus:outline-none"
8686
/>
8787
{error && <div className="text-error -mt-3 mb-3 text-xs">{error}</div>}
8888
<ModalActions>

src/components/GitStatusIndicatorView.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export const GitStatusIndicatorView: React.FC<GitStatusIndicatorViewProps> = ({
8181
// Render colored indicator characters
8282
const renderIndicators = (indicators: string) => {
8383
return (
84-
<span className="mr-2 shrink-0 font-mono whitespace-pre text-neutral-500">
84+
<span className="mr-2 shrink-0 font-mono whitespace-pre text-neutral-400">
8585
{Array.from(indicators).map((char, index) => (
8686
<span key={index} style={{ color: getIndicatorColor(index) }}>
8787
{char}
@@ -101,7 +101,7 @@ export const GitStatusIndicatorView: React.FC<GitStatusIndicatorViewProps> = ({
101101
<div className="border-neutral-900-light mb-2 flex flex-col gap-0.5 border-b pb-2">
102102
{branchHeaders.map((header, index) => (
103103
<div key={index} className="flex gap-2 font-mono leading-snug">
104-
<span className="mr-2 shrink-0 font-mono whitespace-pre text-neutral-500">
104+
<span className="mr-2 shrink-0 font-mono whitespace-pre text-neutral-400">
105105
{/* Create spacing to align with column */}
106106
{Array.from({ length: header.columnIndex }).map((_, i) => (
107107
<span key={i} style={{ color: getIndicatorColor(i) }}>
@@ -110,7 +110,7 @@ export const GitStatusIndicatorView: React.FC<GitStatusIndicatorViewProps> = ({
110110
))}
111111
<span style={{ color: getIndicatorColor(header.columnIndex) }}>!</span>
112112
</span>
113-
<span className="text-neutral-200">[{header.branch}]</span>
113+
<span className="text-neutral-300">[{header.branch}]</span>
114114
</div>
115115
))}
116116
</div>
@@ -134,14 +134,14 @@ export const GitStatusIndicatorView: React.FC<GitStatusIndicatorViewProps> = ({
134134
{displayFiles.map((line, index) => (
135135
<div
136136
key={index}
137-
className="font-mono text-[11px] leading-snug whitespace-pre text-neutral-200"
137+
className="font-mono text-[11px] leading-snug whitespace-pre text-neutral-300"
138138
>
139139
{line}
140140
</div>
141141
))}
142142
</div>
143143
{isTruncated && (
144-
<div className="text-neutral-500-light mt-1 text-[10px] italic">
144+
<div className="text-neutral-400-light mt-1 text-[10px] italic">
145145
(showing {LIMIT} of {dirtyFiles.length} files)
146146
</div>
147147
)}
@@ -173,8 +173,8 @@ export const GitStatusIndicatorView: React.FC<GitStatusIndicatorViewProps> = ({
173173
<div className="flex gap-2 font-mono leading-snug">
174174
{renderIndicators(commit.indicators)}
175175
<span className="shrink-0 text-sky-600 select-all">{commit.hash}</span>
176-
<span className="text-neutral-500-light shrink-0">{commit.date}</span>
177-
<span className="flex-1 break-words text-neutral-200">{commit.subject}</span>
176+
<span className="text-neutral-400-light shrink-0">{commit.date}</span>
177+
<span className="flex-1 break-words text-neutral-300">{commit.subject}</span>
178178
</div>
179179
</div>
180180
))}
@@ -187,7 +187,7 @@ export const GitStatusIndicatorView: React.FC<GitStatusIndicatorViewProps> = ({
187187
const tooltipElement = (
188188
<div
189189
className={cn(
190-
"fixed z-[10000] bg-neutral-900 text-neutral-200 border border-neutral-900-light rounded px-3 py-2 text-[11px] font-mono whitespace-pre max-w-96 max-h-[400px] overflow-auto shadow-[0_4px_12px_rgba(0,0,0,0.5)] pointer-events-auto transition-opacity duration-200",
190+
"fixed z-[10000] bg-neutral-900 text-neutral-300 border border-neutral-900-light rounded px-3 py-2 text-[11px] font-mono whitespace-pre max-w-96 max-h-[400px] overflow-auto shadow-[0_4px_12px_rgba(0,0,0,0.5)] pointer-events-auto transition-opacity duration-200",
191191
showTooltip ? "opacity-100 visible" : "opacity-0 invisible"
192192
)}
193193
style={{

src/components/KebabMenu.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const KebabMenu: React.FC<KebabMenuProps> = ({ items, className }) => {
7474
ref={buttonRef}
7575
onClick={() => setIsOpen(!isOpen)}
7676
className={cn(
77-
"border border-white/20 text-neutral-200 text-[10px] py-0.5 px-2 rounded-[3px] cursor-pointer transition-all duration-200 font-primary flex items-center justify-center whitespace-nowrap",
77+
"border border-white/20 text-neutral-300 text-[10px] py-0.5 px-2 rounded-[3px] cursor-pointer transition-all duration-200 font-primary flex items-center justify-center whitespace-nowrap",
7878
isOpen ? "bg-white/10" : "bg-none",
7979
"hover:bg-white/10 hover:border-white/30",
8080
"disabled:opacity-50 disabled:cursor-not-allowed",
@@ -113,10 +113,10 @@ export const KebabMenu: React.FC<KebabMenuProps> = ({ items, className }) => {
113113
"w-full border-none border-b border-modal-bg text-xs py-2 px-3 text-left transition-all duration-150 font-primary flex items-center gap-2",
114114
"last:border-b-0",
115115
item.disabled
116-
? "bg-neutral-950 text-neutral-500-light cursor-not-allowed opacity-50 hover:bg-neutral-950 hover:text-neutral-500-light"
116+
? "bg-neutral-950 text-neutral-400-light cursor-not-allowed opacity-50 hover:bg-neutral-950 hover:text-neutral-400-light"
117117
: item.active
118-
? "bg-white/15 text-neutral-200 cursor-pointer hover:bg-white/15 hover:text-white"
119-
: "bg-neutral-950 text-neutral-200 cursor-pointer hover:bg-white/15 hover:text-white"
118+
? "bg-white/15 text-neutral-300 cursor-pointer hover:bg-white/15 hover:text-white"
119+
: "bg-neutral-950 text-neutral-300 cursor-pointer hover:bg-white/15 hover:text-white"
120120
)}
121121
>
122122
{item.emoji && (

src/components/LeftSidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function LeftSidebar(props: LeftSidebarProps) {
4747
className={cn(
4848
"hidden max-md:flex fixed top-3 left-3 z-[998]",
4949
"w-10 h-10 bg-neutral-900 border border-neutral-800 rounded-md cursor-pointer",
50-
"items-center justify-center text-neutral-200 text-xl transition-all duration-200",
50+
"items-center justify-center text-neutral-300 text-xl transition-all duration-200",
5151
"shadow-[0_2px_4px_rgba(0,0,0,0.3)]",
5252
"hover:bg-neutral-900 hover:border-neutral-800",
5353
"active:scale-95"

src/components/Messages/AssistantMessage.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ export const AssistantMessage: React.FC<AssistantMessageProps> = ({
9090
// Empty streaming state
9191
if (isStreaming && !content) {
9292
return (
93-
<div className="font-primary text-[13px] text-neutral-600 italic">Waiting for response...</div>
93+
<div className="font-primary text-[13px] text-neutral-400 italic">
94+
Waiting for response...
95+
</div>
9496
);
9597
}
9698

@@ -109,7 +111,7 @@ export const AssistantMessage: React.FC<AssistantMessageProps> = ({
109111
// Completed text renders as static content
110112
return content ? (
111113
showRaw ? (
112-
<pre className="bg-code-bg m-0 rounded-sm p-2 font-mono text-xs leading-relaxed break-words whitespace-pre-wrap text-neutral-200">
114+
<pre className="bg-code-bg m-0 rounded-sm p-2 font-mono text-xs leading-relaxed break-words whitespace-pre-wrap text-neutral-300">
113115
{content}
114116
</pre>
115117
) : (

0 commit comments

Comments
 (0)