Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Vertical Scrollbar Track Color #237221

Open
WilliamFernsV3 opened this issue Jan 3, 2025 · 0 comments
Open

Change Vertical Scrollbar Track Color #237221

WilliamFernsV3 opened this issue Jan 3, 2025 · 0 comments
Assignees

Comments

@WilliamFernsV3
Copy link

Image

The workbench.colorCustomizations in user settings.json seems to only allow you to customize the scrollbar itself, not the track color behind it.

I tried using the "Custom CSS and JS Loader" extension, but the track is a canvas, meaning I cannot use CSS to modify the background color. I tried using JavaScript, but it does not seem to work:

var canvas = document.querySelector(".decorationsOverviewRuler");
var ctx = canvas.getContext("2d");
ctx.fillStyle = "#FFFF00";
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

No branches or pull requests

3 participants