style: align sidebar nav rows with folder/file row styling - #200
Merged
Conversation
h4yfans
added a commit
that referenced
this pull request
May 6, 2026
style: align sidebar nav rows with folder/file row styling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Align sidebar nav rows (Inbox, Journal, Tasks) with folder/file row styling for visual consistency.
Why
The top-level sidebar nav rows were visually inconsistent with the folder/note rows in the Collections section below. They used a taller, chunkier row primitive while folder/file rows used a tighter tree-node style. This made the nav feel like "bolted-on chrome" instead of a continuous list.
How
Added a single
classNameoverride to<SidebarMenuButton>insidebar-nav.tsx:53that copies the exact tokens fromTreeNodeTrigger:h-8→h-7(32px → 28px)rounded-md→rounded-[5px](6px → 5px)p-2→p-0 pl-1 pr-2.5(asymmetric: 4px left / 10px right)gap-2→gap-1.5(8px → 6px)text-sm→text-[13px] leading-4 font-mediumtext-sidebar-foregroundThe twMerge conflict resolver picks the later class, so the override cleanly wins. The CVA's
[&>svg]:size-4and hover/active color tokens remain unchanged.Type
style— visual/UI onlyTest plan
Checklist