Skip to content

Commit 04b14d6

Browse files
committed
Fix double prefixes and missing class replacements
- Fix bg-bg-gray-950 → bg-gray-950 in App.tsx - Fix hover:bg-bg-subtle → hover:bg-gray-800 - Fix text-lighter → text-gray-100 - Fix border-hover → border-gray-900 - Fix text-message-header → text-gray-300
1 parent 52db15d commit 04b14d6

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ function AppInner() {
662662

663663
return (
664664
<>
665-
<div className="bg-bg-gray-950 flex h-screen overflow-hidden [@media(max-width:768px)]:flex-col">
665+
<div className="bg-gray-950 flex h-screen overflow-hidden [@media(max-width:768px)]:flex-col">
666666
<LeftSidebar
667667
projects={projects}
668668
workspaceMetadata={workspaceMetadata}

src/components/CommandPalette.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,12 +364,12 @@ export const CommandPalette: React.FC<CommandPaletteProps> = ({ getSlashContext
364364
}}
365365
>
366366
<Command
367-
className="text-lighter font-primary w-[min(720px,92vw)] overflow-hidden rounded-lg border border-gray-800 bg-gray-900 shadow-[0_10px_40px_rgba(0,0,0,0.4)]"
367+
className="text-gray-100 font-primary w-[min(720px,92vw)] overflow-hidden rounded-lg border border-gray-800 bg-gray-900 shadow-[0_10px_40px_rgba(0,0,0,0.4)]"
368368
onMouseDown={(e: React.MouseEvent) => e.stopPropagation()}
369369
shouldFilter={shouldUseCmdkFilter}
370370
>
371371
<Command.Input
372-
className="text-lighter border-hover w-full border-b border-none bg-gray-950 px-3.5 py-3 text-sm outline-none"
372+
className="text-gray-100 border-gray-900 w-full border-b border-none bg-gray-950 px-3.5 py-3 text-sm outline-none"
373373
value={query}
374374
onValueChange={handleQueryChange}
375375
placeholder={

src/components/Messages/MessageWindow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const MessageWindow: React.FC<MessageWindowProps> = ({
6868
>
6969
{backgroundEffect}
7070
<div
71-
className="text-message-header relative z-10 flex items-center justify-between border-b border-white/10 bg-white/5 px-3 py-1 text-[11px] font-medium"
71+
className="text-gray-300 relative z-10 flex items-center justify-between border-b border-white/10 bg-white/5 px-3 py-1 text-[11px] font-medium"
7272
data-message-header
7373
>
7474
<div className="flex min-w-0 flex-1 items-baseline gap-3" data-message-header-left>

src/components/ProjectSidebar.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ const ProjectSidebarInner: React.FC<ProjectSidebarProps> = ({
461461
const isExpanded = expandedProjects.has(projectPath);
462462

463463
return (
464-
<div key={projectPath} className="border-hover border-b">
464+
<div key={projectPath} className="border-gray-900 border-b">
465465
<DraggableProjectItem
466466
projectPath={projectPath}
467467
onReorder={handleReorder}
@@ -544,7 +544,7 @@ const ProjectSidebarInner: React.FC<ProjectSidebarProps> = ({
544544

545545
{isExpanded && (
546546
<div id={workspaceListId}>
547-
<div className="border-hover border-b px-3 py-2 pl-[22px]">
547+
<div className="border-gray-900 border-b px-3 py-2 pl-[22px]">
548548
<button
549549
onClick={() => onAddWorkspace(projectPath)}
550550
data-project-path={projectPath}
@@ -592,7 +592,7 @@ const ProjectSidebarInner: React.FC<ProjectSidebarProps> = ({
592592
: `Expand workspaces older than ${formatOldWorkspaceThreshold()}`
593593
}
594594
aria-expanded={showOldWorkspaces}
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-gray-500 transition-all duration-150 hover:bg-white/[0.03] hover:text-gray-400 [&:hover_.arrow]:text-gray-400"
595+
className="border-gray-900 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-gray-500 transition-all duration-150 hover:bg-white/[0.03] hover:text-gray-400 [&:hover_.arrow]:text-gray-400"
596596
>
597597
<div className="flex items-center gap-1.5">
598598
<span>Older than {formatOldWorkspaceThreshold()}</span>

src/components/RightSidebar/CodeReview/UntrackedStatus.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export const UntrackedStatus: React.FC<UntrackedStatusProps> = ({
143143
{untrackedFiles.map((file) => (
144144
<div
145145
key={file}
146-
className="hover:bg-bg-subtle truncate px-1 py-0.5 font-mono text-[11px] text-gray-400"
146+
className="hover:bg-gray-800 truncate px-1 py-0.5 font-mono text-[11px] text-gray-400"
147147
>
148148
{file}
149149
</div>

0 commit comments

Comments
 (0)