View Single Post
Old 12-21-2024, 01:43 PM   #4
philja
Addict
philja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enough
 
Posts: 313
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Quote:
Originally Posted by KevinH View Post
On MacOS, all scrollbars inherit their colours from the operating system light/versus dark colour palette.

For dark mode you can see examples of css used to modify the scrollbars on each platform here:

https://github.com/Sigil-Ebook/Sigil...rce_Files/dark

Check out examples of css in win_dark_scrollbar.css, lin_dark_scrollbar.css and mac_dark_scrollbar.css

You can add custom css that Preview loads and even cycle among them.
Thanks for the steer, Kevin. I've added some lines to my qt_styles.qss to modify the display of the scrollbars and this works for Clips, Browser, Code View and TOC but not for Preview.

I've no use for dark mode on any machine and my MacBook is in light mode and its scroll bars are all fine.

I would just like all the scrollbars in Linux and Windows to have the same logic - a darker button/handle and a lighter scroll bar. Preview is the odd one out on both machines.

I've tried using the code from lin_dark_scrollbar.css. The colors aren't a problem I can easily change them. But do I need to rename the file to get Preview to take it into account when starting Sigil?
philja is offline   Reply With Quote