Skip to content

fix: match inspector scrollbar contrast to properties panel - #57

Merged
tech-stack-studios merged 1 commit into
developfrom
feature/inspector-scrollbar-styling
May 27, 2026
Merged

fix: match inspector scrollbar contrast to properties panel#57
tech-stack-studios merged 1 commit into
developfrom
feature/inspector-scrollbar-styling

Conversation

@tech-stack-studios

Copy link
Copy Markdown
Owner

What

The plugin inspector iframe scrollbar was still visually prominent because:

  • The scrollbar track background was transparent, which can render as a light colour on Linux/GTK Chromium
  • The thumb colour (#3b3d45) had slightly higher contrast than the right panel's scrollbar

Changes

  • discord-plugin/.../ui/inspector.html:
    • Track set to #2b2d31 (exact body background) so the track is invisible
    • Thumb set to #3d3f45 (+18 luminance delta vs background, matching the right panel's #2e2e2e on #1c1c1c)
    • Added :hover state for the thumb

Result

The inspector scrollbar now has the same visual weight as the properties panel scrollbar — barely visible, only showing the thumb when needed.

@tech-stack-studios
tech-stack-studios merged commit a292ca1 into develop May 27, 2026
2 checks passed
@tech-stack-studios
tech-stack-studios deleted the feature/inspector-scrollbar-styling branch May 31, 2026 01:12
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.

1 participant