Skip to content

Conversation

@morinokami
Copy link
Contributor

Fix sidebar icon buttons to properly respect theme settings in both light and dark modes.

Before After
Screenshot 2025-03-20 at 22 34 09 Screenshot 2025-03-20 at 22 25 47

Motivation and Context

The documentation, debugging, and GitHub icon buttons in the sidebar were difficult to see. This change ensures the buttons properly inherit theme colors for better visibility and consistency.

How Has This Been Tested?

  • Verified button visibility in light mode
  • Verified button visibility in dark mode
  • Tested theme switching between light/dark/system modes
  • Confirmed links remain functional after restructuring

Breaking Changes

None.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

@cliffhall
Copy link
Member

cliffhall commented Mar 27, 2025

@morinokami I'm not sure what conditions you're in when seeing those black buttons in the before picture.

This is what it currently looks like for me (Chrome on Mac)
Screenshot 2025-03-27 at 4 45 22 PM
Screenshot 2025-03-27 at 4 47 14 PM

@morinokami
Copy link
Contributor Author

@cliffhall I'm also testing this on Chrome for macOS. The screenshots I shared above reflect what I'm seeing, though it seems a bit different from yours... Does the appearance match when you run the updated code?

@olaservo
Copy link
Member

@cliffhall I'm seeing the same before/after as in @morinokami 's screenshots. I'm using Chrome on Windows.

@morinokami morinokami requested a review from olaservo March 28, 2025 13:19
@olaservo olaservo merged commit e47b1d8 into modelcontextprotocol:main Mar 28, 2025
2 checks passed
@cliffhall
Copy link
Member

Super weird that I was never seeing the before image. I went back and tried versions of the inspector going to 0.5.0 and still never saw the problem. Even tried it in Safari and FireFox. But if others saw it and this fixed it, right on. 👍

IgnacioC44 referenced this pull request in MCPJam/inspector Jun 21, 2025
Restructure link buttons in sidebar to respect theme
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.

3 participants