Skip to content

fix: stop files showing through pinned folder rows in the project panel - #66

Open
MananTank wants to merge 2 commits into
cange:mainfrom
MananTank:fix/opaque-sticky-panel-entries
Open

MananTank wants to merge 2 commits into
cange:mainfrom
MananTank:fix/opaque-sticky-panel-entries

Conversation

@MananTank

@MananTank MananTank commented Dec 4, 2026 •

Copy link
Copy Markdown

Problem

With project_panel.sticky_scroll on, Zed pins the parent folders of the visible entries to the top of the project panel while you scroll. In the blurred variants these pinned rows are partly see-through (panel.overlay_background is bg0 at 89% alpha). The files scrolling underneath show through them, and their names overlap the folder names. The "before" column in the screenshots below shows this.

Fix

The pinned rows now have a solid background in the same color as the rest of the panel. Nothing shows through them, and they still look like part of the panel.

  • Dark blurred variants use bg1, the color the rest of the blurred panel shows.
  • Light blurred variants (Dayfox, Dawnfox) use bg0. The blurred desktop behind the window darkens a light panel much more than a dark one, and with bg1 the pinned rows stood out as a lighter block.
  • Opaque variants already had a solid bg0 and keep it.
  • panel.overlay_hover is now sel0, the theme's usual hover color (ghost_element.hover), so hovering a pinned row looks like hovering any other row. The theme didn't set it before.

The rest of a blurred panel lets a little of the desktop through, so how closely the pinned rows match depends on the wallpaper. The screenshots were taken over a dark wallpaper.

themes/nvim-nightfox.json is regenerated with make prod. Running make prod on unchanged main reproduces the committed file exactly, so the JSON diff contains only this change.

Screenshots

Each blurred variant before (left) and after (right) this change. Look at the folder rows at the top of the project panel.

Pinned project panel rows in every blurred variant, before and after

MananTank added a commit to MananTank/nightfox.zed that referenced this pull request Dec 4, 2026
MananTank added a commit to MananTank/nightfox.zed that referenced this pull request Dec 4, 2026
@MananTank MananTank changed the title fix: make sticky project panel entries opaque fix: stop files showing through pinned folder rows in the project panel Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant