Uh oh!
There was an error while loading. Please reload this page.
fix: make scrollbar visible in Monokai theme - #24507
Conversation
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Issue for this PR
Fixes#24425
Type of change
What does this PR do?
In the session view, the scrollbar track used
theme.backgroundElementand the thumb usedtheme.border. In the Monokai theme, both of these resolve to#3e3d32, making the scrollbar completely invisible against the background.Changed the session scrollbar colors to match the pattern already used in
sidebar.tsxandpermission.tsx:theme.backgroundElement->theme.backgroundtheme.border->theme.borderActiveThis ensures the thumb is drawn with the active border color (cyan in Monokai), which is clearly visible against the darker track and background.
How did you verify your code works?
theme.borderActiveresolves to a contrasting color in MonokaiChecklist