fix: make session scrollbar track visible on default theme#26009
Open
Kushalk0677 wants to merge 2 commits intoanomalyco:devfrom
Open
fix: make session scrollbar track visible on default theme#26009Kushalk0677 wants to merge 2 commits intoanomalyco:devfrom
Kushalk0677 wants to merge 2 commits intoanomalyco:devfrom
Conversation
Contributor
|
The following comment was made by an LLM, it may be inaccurate: Based on the search results, I found related PRs addressing similar scrollbar visibility issues: Related PRs:
These PRs tackle similar scrollbar visibility problems but target different themes or are from earlier attempts. PR #26009 (the current PR) appears to be the focused fix for the default theme specifically, closing issue #25981. |
Contributor
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
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.
The session scrollbar does not render in the TUI on the default opencode theme — the track background color blends into the surrounding panel making it invisible.
Issue for this PR
Closes #25981
Type of change
What does this PR do?
Changes the scrollbar track colors to match the sidebar's existing working approach: track
backgroundColorusestheme.background(#0a0a0a) so it blends into the session viewport, andforegroundColorusestheme.borderActive(#606060) for a visible thumb. The sidebar uses the same pattern atsidebar.tsx:40-44.How did you verify your code works?
bun dev .withscrollbar_visibletemporarily set totrueScreenshots / recordings
Not a UI change.
Checklist