Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-07-2019, 12:49 AM   #1
masp
Enthusiast
masp began at the beginning.
 
Posts: 46
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!
masp is offline   Reply With Quote
Old 10-07-2019, 01:02 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
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.
kovidgoyal is online now   Reply With Quote
Advert
Old 10-07-2019, 10:51 AM   #3
masp
Enthusiast
masp began at the beginning.
 
Posts: 46
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.
masp is offline   Reply With Quote
Old 10-07-2019, 12:42 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
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
kovidgoyal is online now   Reply With Quote
Old 10-07-2019, 02:08 PM   #5
masp
Enthusiast
masp began at the beginning.
 
Posts: 46
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
masp is offline   Reply With Quote
Advert
Old 10-07-2019, 09:19 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This is not really something calibre does, it's automatic at the toolkit (Qt) level.
kovidgoyal is online now   Reply With Quote
Old 10-07-2019, 09:52 PM   #7
masp
Enthusiast
masp began at the beginning.
 
Posts: 46
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!
masp is offline   Reply With Quote
Old 10-07-2019, 10:05 PM   #8
masp
Enthusiast
masp began at the beginning.
 
Posts: 46
Karma: 10
Join Date: Sep 2014
Device: ipad air
FYI, I just discovered how to disable dark mode at the app level:

Quote:
defaults write net.kovidgoyal.calibre NSRequiresAquaSystemAppearance -bool yes
or revert to default with:

Quote:
defaults delete net.kovidgoyal.calibre NSRequiresAquaSystemAppearance
Tested and works: I'm delighted!
masp is offline   Reply With Quote
Old 10-07-2019, 10:41 PM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Cool just dont later forget you did that and complain dark mode is not working
kovidgoyal is online now   Reply With Quote
Old 10-08-2019, 08:06 AM   #10
HogDrvr
Connoisseur
HogDrvr began at the beginning.
 
Posts: 54
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
}
HogDrvr is offline   Reply With Quote
Old 10-08-2019, 08:11 AM   #11
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Just add

Code:
a { color: yellow }
at the top change the color to whatever yo uwant

Last edited by DoctorOhh; 10-18-2019 at 11:13 PM.
kovidgoyal is online now   Reply With Quote
Old 10-08-2019, 08:58 AM   #12
HogDrvr
Connoisseur
HogDrvr began at the beginning.
 
Posts: 54
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.

HogDrvr is offline   Reply With Quote
Old 10-08-2019, 09:02 AM   #13
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You missed the "a" and put it only at the top
kovidgoyal is online now   Reply With Quote
Old 10-08-2019, 09:06 AM   #14
HogDrvr
Connoisseur
HogDrvr began at the beginning.
 
Posts: 54
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.
HogDrvr is offline   Reply With Quote
Old 10-09-2019, 12:53 AM   #15
tonyc46
Member
tonyc46 began at the beginning.
 
Posts: 24
Karma: 10
Join Date: May 2009
Device: iPad Gen 6
Same complaint. This fix worked for me. Thanks.
tonyc46 is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 10:53 PM.


MobileRead.com is a privately owned, operated and funded community.