[PR #12752] fix(tui): style scrollbox for permission and sidebar #14354

Open
opened 2026-02-16 18:19:09 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12752

State: open
Merged: No


What does this PR do?

Fixes #12751

Adds verticalScrollbarOptions with theme colors to scrollboxes in the permission dialog (diff view) and sidebar to ensure consistent scrollbar styling across the UI.

Both components now use theme.background for track background and theme.borderActive for foreground, matching the rest of the application's visual style.

How did you verify your code works?

before after
image image
image image
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12752 **State:** open **Merged:** No --- ### What does this PR do? Fixes #12751 Adds verticalScrollbarOptions with theme colors to scrollboxes in the permission dialog (diff view) and sidebar to ensure consistent scrollbar styling across the UI. Both components now use `theme.background` for track background and `theme.borderActive` for foreground, matching the rest of the application's visual style. ### How did you verify your code works? |before|after| |------|-----| |<img width="1294" height="681" alt="image" src="https://github.com/user-attachments/assets/e5dc69d2-6729-4d6c-9d35-0b67ad41e3ca" />|<img width="1294" height="681" alt="image" src="https://github.com/user-attachments/assets/b3502887-8622-4114-80a4-34c7814ac4a4" />| |<img width="1294" height="681" alt="image" src="https://github.com/user-attachments/assets/60182eac-4dd3-4be8-945e-53ae0edc8569" />|<img width="1294" height="681" alt="image" src="https://github.com/user-attachments/assets/9c7134a7-79dd-4655-8885-03d7b144a95d" />|
yindo added the pull-request label 2026-02-16 18:19:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14354