[PR #5188] fix: improve sidebar working directory colour contrast with modified files (resolves #5184 #11287

Closed
opened 2026-02-16 18:16:06 -05:00 by yindo · 0 comments
Owner

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

State: closed
Merged: Yes


Changes the colour used to display the current working directory in the sidebar from mutedText to success, making the working directory more visually distinct from the modified files displayed above it. In most of the stock themes, text seems to be a color that has sufficient contrast to be visually distinguished easily from textMuted.

Examples in some of the stock themes

Cobalt

With this PR:
cobalt after Screenshot 2025-12-07 at 8 03 25 AM
Before this PR:
cobalt before Screenshot 2025-12-07 at 8 03 45 AM

Matrix

With this PR:
matrix after Screenshot 2025-12-07 at 8 05 18 AM
Before this PR:
matrix before Screenshot 2025-12-07 at 8 05 32 AM

Catpuccin

With this PR:
catp after Screenshot 2025-12-07 at 8 01 11 AM
Before this PR:
catp before Screenshot 2025-12-07 at 8 01 57 AM

Resolves #5184.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5188 **State:** closed **Merged:** Yes --- Changes the colour used to display the current working directory in the sidebar from `mutedText` to `success`, making the working directory more visually distinct from the modified files displayed above it. In most of the stock themes, `text` seems to be a color that has sufficient contrast to be visually distinguished easily from `textMuted`. ## Examples in some of the stock themes ### Cobalt With this PR: <img width="296" height="685" alt="cobalt after Screenshot 2025-12-07 at 8 03 25 AM" src="https://github.com/user-attachments/assets/54aa909c-1b7a-4989-a614-36f07ed1bc18" /> Before this PR: <img width="304" height="689" alt="cobalt before Screenshot 2025-12-07 at 8 03 45 AM" src="https://github.com/user-attachments/assets/cff5afc8-404c-4c2d-b8c4-e5e96b36d1a3" /> ### Matrix With this PR: <img width="297" height="693" alt="matrix after Screenshot 2025-12-07 at 8 05 18 AM" src="https://github.com/user-attachments/assets/9d209901-3bd4-4ccb-9306-dc90ab4346c2" /> Before this PR: <img width="296" height="689" alt="matrix before Screenshot 2025-12-07 at 8 05 32 AM" src="https://github.com/user-attachments/assets/fd0c6533-0bf7-4b31-befc-ff60bfb3718b" /> ### Catpuccin With this PR: <img width="294" height="693" alt="catp after Screenshot 2025-12-07 at 8 01 11 AM" src="https://github.com/user-attachments/assets/1ef77ffb-aaf0-404b-98f9-2e6412a76539" /> Before this PR: <img width="289" height="689" alt="catp before Screenshot 2025-12-07 at 8 01 57 AM" src="https://github.com/user-attachments/assets/83e6c95a-adaf-4fd2-90fc-acf9ece1a538" /> Resolves #5184.
yindo added the pull-request label 2026-02-16 18:16:06 -05:00
yindo closed this issue 2026-02-16 18:16:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11287