Skip to content

Conversation

@ariane-emory
Copy link
Contributor

@ariane-emory ariane-emory commented Dec 7, 2025

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.

@ariane-emory ariane-emory changed the title fix: improve sidebar working directory contrast with modified files (resolves #5184 fix: improve sidebar working directory colour contrast with modified files (resolves #5184 Dec 7, 2025
@ariane-emory ariane-emory marked this pull request as draft December 7, 2025 10:44
@ariane-emory ariane-emory marked this pull request as ready for review December 7, 2025 13:09
@rekram1-node
Copy link
Collaborator

I think it'd be better to have a space if possible

@ariane-emory
Copy link
Contributor Author

ariane-emory commented Dec 7, 2025

@rekram1-node I could certainly give that a shot, let me get some caffeine in me first and I'll take a stab at it. Were you imagining adding a single empty line to separate the final line in the modified files section from the first line of the working directory...

  1. in addition to this colour change, or...
  2. instead of this colour change?

@ariane-emory
Copy link
Contributor Author

@rekram1-node Alright, pending your response I went with option #1: both. Just let me know if option #2 (spacing only, no colour change) is more your style and I'll make the change. I could go either way myself.

Tokyo Night theme example:

Screenshot 2025-12-07 at 3 40 15 PM

@ariane-emory ariane-emory marked this pull request as draft December 8, 2025 20:12
@ariane-emory ariane-emory force-pushed the fix/sidebar-working-directory-color branch from 96c01be to a52cc64 Compare December 8, 2025 20:31
@ariane-emory ariane-emory marked this pull request as ready for review December 8, 2025 20:31
@rekram1-node rekram1-node merged commit 8b51da7 into sst:dev Dec 8, 2025
3 of 4 checks passed
@ariane-emory ariane-emory deleted the fix/sidebar-working-directory-color branch December 8, 2025 22:36
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.

Confusing colouration of working directory in sidebar.

2 participants