10-07-2019, 12:49 AM | #1 |
Enthusiast
Posts: 48
Karma: 10
Join Date: Sep 2014
Device: ipad air
|
how to revert to light mode in 4.0?
Hi: just got 4.0 working and finding the "dark mode" a bit hard to read: is there an option to switch back to "light mode"? (dark text on light background)
Thanks! |
10-07-2019, 01:02 AM | #2 |
creator of calibre
Posts: 44,381
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I assume you are on macOS? Change your system appearance to light and calibre (or more precisely Qt) will pick it up automatically after a restart.
|
Advert | |
|
10-07-2019, 10:51 AM | #3 |
Enthusiast
Posts: 48
Karma: 10
Join Date: Sep 2014
Device: ipad air
|
Yes I am (mac os). I don't want to turn off dark mode system-wide but I'm finding calibre's text colors (especially blue hyperlinks) hard to read against the dark background (and also black text against a dark green background), so I was hoping that calibre would allow me to override the system setting and use a light background: not possible?
Last edited by masp; 10-07-2019 at 10:55 AM. |
10-07-2019, 12:42 PM | #4 |
creator of calibre
Posts: 44,381
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No not possible. But you can change the blue color in Preferences->Look & feel->Book details and the dark green in the edit metadata dialog box has become a baorder not a background in the next release
|
10-07-2019, 02:08 PM | #5 |
Enthusiast
Posts: 48
Karma: 10
Join Date: Sep 2014
Device: ipad air
|
Thanks for the pointers! I do have a strong preference for the dark-on-light (rather than light-on-dark) look for viewing databases like calibre, despite also preferring a system-wide "dark mode" for UI elements in general, so if it's possible to add an option to switch to the (pre-4.0) dark-on-light theme, that would be even better
|
Advert | |
|
10-07-2019, 09:19 PM | #6 |
creator of calibre
Posts: 44,381
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This is not really something calibre does, it's automatic at the toolkit (Qt) level.
|
10-07-2019, 09:52 PM | #7 |
Enthusiast
Posts: 48
Karma: 10
Join Date: Sep 2014
Device: ipad air
|
Wow, I'm surprised that QT cedes so much control over the UI to the OS! Thanks for the clarification!
|
10-07-2019, 10:05 PM | #8 | ||
Enthusiast
Posts: 48
Karma: 10
Join Date: Sep 2014
Device: ipad air
|
FYI, I just discovered how to disable dark mode at the app level:
Quote:
Quote:
|
||
10-07-2019, 10:41 PM | #9 |
creator of calibre
Posts: 44,381
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Cool just dont later forget you did that and complain dark mode is not working
|
10-08-2019, 08:06 AM | #10 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Jul 2016
Device: Kindle
|
Can somebody tell me exactly where and what I should alter to change the dark blue text while in dark mode? I assume it goes somewhere in the following:
Code:
table.fields { margin-bottom: 0; padding-bottom: 0; } table.fields td { vertical-align: top } table.fields td.title { font-weight: bold } |
10-08-2019, 08:11 AM | #11 |
creator of calibre
Posts: 44,381
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Just add
Code:
a { color: yellow } Last edited by DoctorOhh; 10-18-2019 at 11:13 PM. |
10-08-2019, 08:58 AM | #12 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Jul 2016
Device: Kindle
|
I've tried putting { color: yellow } in every possible field including at the very top. I get no results and still can't read the text. I know it should only go in once and I'll delete all the extras as soon as I figure out just where the code should go.
|
10-08-2019, 09:02 AM | #13 |
creator of calibre
Posts: 44,381
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You missed the "a" and put it only at the top
|
10-08-2019, 09:06 AM | #14 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Jul 2016
Device: Kindle
|
Beautiful, thanks. I've got it working now.
In my humble defense, I read that as put a "block of code" instead of "a block of code". I read the "a" as an article in the sentence. |
10-09-2019, 12:53 AM | #15 |
Member
Posts: 24
Karma: 10
Join Date: May 2009
Device: iPad Gen 6
|
Same complaint. This fix worked for me. Thanks.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Troubleshooting Light stays on in sleep mode PW1 | kataclysm | Amazon Kindle | 0 | 06-23-2018 02:56 PM |
Kobo - Night light doesn't turn off in sleep mode | voidIndigo | Devices | 3 | 06-05-2017 02:08 PM |
Revert 5.6.5 to 5.4.0 via serial | aholmes5 | Kindle Developer's Corner | 26 | 10-04-2015 08:32 AM |
Aura HD Sleep mode and Light 3.3.0 | HarpingOn | Kobo Reader | 5 | 06-22-2014 01:52 AM |
Text is light grey in landscape mode | JRAWKER | Sony Reader | 4 | 02-04-2007 07:22 AM |