Firefox now with the newest revision has preliminary support for the new CSS Scrollbars currently in draft status. I’ve just modified my blog theme to take advantage of this. Unfortunately setting the track to transparent also removes the arrows from the buttons at this time, but you can open up the developer tools and add these CSS rules to see how much nicer this looks right here on the forum:
html {scrollbar-color: #727272 #1e2443;} textarea, .d-editor-preview-wrapper, p > code, li > code, pre > code {scrollbar-width: thin;}
I’m sure there’s other scrolling elements that could be modified as well, that’s just a quick example. There are plenty of other sites to experiment with if you have Stylus, but I’m mostly interested to hear from other webmasters - will you be adding customised scrollbars any time soon? A word of warning though, the implementation is buggy.
Interestingly the brightest you can make the scrollbar thumb if you’re wanting the accent to be bright and not dark is #757575
or rgb(117, 117, 117)
. It’s also the brightest you can make the track if you want white arrows instead of black. But that value seems odd since the logical threshold would be #7f7f7f
/ rgb(127, 127, 127)
, so I don’t expect other browsers to be consistent once they start implementing CSS scrollbar support.