diff --git a/frontend/src/features/command-palette/CommandPalette.tsx b/frontend/src/features/command-palette/CommandPalette.tsx index 36137c7e..61f15963 100644 --- a/frontend/src/features/command-palette/CommandPalette.tsx +++ b/frontend/src/features/command-palette/CommandPalette.tsx @@ -576,8 +576,10 @@ export function CommandPalette() { onClick={() => executeCommand(command)} onMouseEnter={() => setSelectedIndex(flatIndex)} className={cn( - 'w-full flex items-center gap-3 px-4 py-2.5 text-left transition-colors duration-75', - isSelected ? 'bg-accent text-accent-foreground' : 'hover:bg-accent/50', + 'w-full flex items-center gap-3 px-3 py-2.5 pl-3 border-l-2 text-left transition-colors duration-75', + isSelected + ? 'bg-primary/10 border-primary text-foreground' + : 'hover:bg-accent/50 border-transparent text-muted-foreground', isComponent && !canPlaceComponents && 'opacity-50', )} disabled={isComponent && !canPlaceComponents} @@ -597,7 +599,7 @@ export function CommandPalette() { ) : null} @@ -608,16 +610,14 @@ export function CommandPalette() {
{command.description}
)} - {isSelected && ( - - )} + {isSelected && } ); })}