pradyunsg / furo

A clean customizable documentation theme for Sphinx
https://pradyunsg.me/furo/quickstart
MIT License
2.65k stars 304 forks source link

Scrollbar color follows OS mode, not Furo theme light/dark mode #721

Open pradyunsg opened 11 months ago

pradyunsg commented 11 months ago

Discussed in https://github.com/pradyunsg/furo/discussions/689

Originally posted by **ShawnHymel** August 10, 2023 OS: macOS 13.4.1 Browser: Chrome 115.0.5790.170 The scroll bars on the page are always dark if my OS theme is set to "Dark." As you can see in this screenshot, even the official Furo documentation site has dark scrollbars. They should follow the theme settings and only revert to the OS mode if the "Auto" mode is selected on the site. ![Screenshot 2023-08-09 at 6 10 03 PM](https://github.com/pradyunsg/furo/assets/5232145/28612c9d-11a3-45b2-ab54-b7c2fea43af4)

This is a bit tricky on Chromium browsers, since the scrollbar lives on html but all the state for the CSS theme is kept on the body tag instead of html.