t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Bug]: Highlighted row in the command palette project picker is nearly invisible in dark mode

Open Turbovadim opened this issue 1 month ago • 3 comments

Before submitting

  • [x] I searched existing issues and did not find a duplicate.
  • [x] I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Use the dark theme.
  2. Open the command palette (Cmd+K) and go to the project list (the page with "No project" at the top).
  3. Move through the list with the arrow keys.

Expected behavior

The highlighted row is easy to see at a glance, so keyboard navigation shows clearly which project Enter will pick.

Actual behavior

The highlighted row is only slightly lighter than the palette background. In the screenshot, bisquit-billing-frontend is highlighted, and it's hard to tell from the rows around it. The two-line rows (name plus muted path) and the fact that there is no other marker make it worse. Once you've moved a few rows, you lose track of the highlight.

The highlight is set in apps/web/src/components/ui/command.tsx:

data-selected:bg-foreground/[0.06] data-highlighted:bg-foreground/[0.09]

That's 9% foreground over an already near-black popup, so the difference is only a few RGB steps.

Related, but in other components:

  • #19208 (selected and hovered rows look the same in the shared dropdown, menu.tsx)
  • #19903 (open thread's sidebar row too faint, closed)

Possible fixes, for maintainers to choose: a stronger highlight background (for example bg-accent), a left accent bar or ring on the highlighted row, or brighter text on the highlighted row.

Impact

Cosmetic issue

Version or commit

0.1.4-nightly.20261028.3814

Environment

macOS desktop app (T3 Code Nightly), dark theme

Screenshots, recordings, or supporting files

Project picker with the first project row highlighted

Turbovadim avatar Oct 28 '26 10:10 Turbovadim

Image Image

Two more places contrast is too low in dark mode.

kendonB avatar Oct 29 '26 18:10 kendonB

I agree the palette selection contrast is really bad! I have to squint with my face glued to the screen to see where I am in the menu!

Image

nbrosei avatar Oct 30 '26 07:10 nbrosei

Agreed! same issue with the skill selector :)

onmax avatar Nov 09 '26 07:11 onmax