Change scrollbar color for TOC, nav, etc.? #7017
-
For dark theme, I don't like that the scrollbar gets brighter when you don't hover over it. For me, it's too bright in dark mode. I was trying to set it to a single color as I don't need it to change. After failing at that, I did a search and found this code: #6782 (reply in thread) from @kamilkrzyskow
So I changed mine to:
But now it has no color at all, and it still changes on hover. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello @MaximilianKohler, Keep in mind that my answer is a makeshift solution until the theme changes, also mentioned in that thread you linked. |
Beta Was this translation helpful? Give feedback.
Hello @MaximilianKohler,
you need to set two colors for the thumb and track:
https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-color#formal_syntax
Keep in mind that my answer is a makeshift solution until the theme changes, also mentioned in that thread you linked.