fix(sidebar): restore info panel padding and darken sidebar background#124
Merged
Merged
Conversation
The section-reorder PR dropped the outer wrapper's px-3, misaligning the panel content with the header title. Restore px-3 py-2.
The left sidebar rendered without any explicit background class, so it inherited the page's --background and blended with the GNB and chat panel (both bg-card). Apply bg-sidebar to the sidebar root so the existing --sidebar token is actually used. The default light/dark themes and 4 built-in themes (Dark High Contrast, One Dark Pro, Tokyo Night, Solarized Light) had --sidebar set equal to --card, so darken --sidebar one step below --card in those themes, reusing each theme's existing darker tone (input/ surface) to stay within its palette.
astykyj
approved these changes
Jul 9, 2026
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.
Summary
px-3on the Information panel content, leaving onlypy-2and misaligning it with thepx-3panel header title. Restoredpx-3 py-2.--backgroundand blended with the GNB and chat panel (bothbg-card). Appliedbg-sidebarto the sidebar root so the existing--sidebartoken is actually used.--sidebarset equal to--card, so darkened--sidebarone step below--cardin those themes, reusing each theme's existing darker tone (input/surface) to stay within its palette.Test plan
bun run typecheckbun test tests/custom-theme.test.ts tests/app-shell-mode.test.ts