Skip to content

fix(app): session scroll bar color#11857

Merged
adamdotdevin merged 1 commit intoanomalyco:devfrom
alexyaroshuk:fix/incorrect-color-session-scrollbar
Feb 2, 2026
Merged

fix(app): session scroll bar color#11857
adamdotdevin merged 1 commit intoanomalyco:devfrom
alexyaroshuk:fix/incorrect-color-session-scrollbar

Conversation

@alexyaroshuk
Copy link
Contributor

closes #11851

What does this PR do?

Fixes bad contrast of session scrollbar when using some dark mode themes

This was originally addressed in #10020 , however, got subsequently broken in 099ab92

root cause

The file packages/ui/src/styles/utilities.css had global scrollbar styles at the top (lines 14-25) that set scrollbar colors to surface-float-base. These styles applied to every scrollbar on the page, overriding the session-scroller utility.

solution

I removed those global styles so session-scroller can control scrollbar colors without conflict.

How did you verify your code works?

manual testing

before:

OC-1 theme
image

Ayu theme
image

Dracula theme - looks ok, just for reference
image

(light mode scrollbar looks the same regardless of theme, style issue):

OC-1 light
image

Gruvbox light
image

after:

OC-1 theme
image

Ayu theme
image

Dracula theme - looked ok, jsut for reference

image

OC-1 light
image

Gruvbox light
image

@alexyaroshuk alexyaroshuk changed the title fix session scroll bar color fix(app): session scroll bar color Feb 2, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2026

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@alexyaroshuk alexyaroshuk force-pushed the fix/incorrect-color-session-scrollbar branch from 71778a6 to e29d62f Compare February 2, 2026 22:56
@adamdotdevin adamdotdevin merged commit ba545ba into anomalyco:dev Feb 2, 2026
9 of 11 checks passed
ishaksebsib pushed a commit to ishaksebsib/opencode that referenced this pull request Feb 4, 2026
ishaksebsib pushed a commit to ishaksebsib/opencode that referenced this pull request Feb 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.

app: Session scrollbar is hard to see on some themes

2 participants