11-04-2019, 06:07 PM | #1 |
Member
Posts: 11
Karma: 10
Join Date: Oct 2011
Device: none
|
Dark mode with dark font?
Hello, I have been trying to convert two books' dark font into white font. Is there an easy way to do this? Other books work fine--they have white font, but there's two books that have dark font that won't budge.
Here's an image to show what I mean: Thanks! Last edited by BetterRed; 11-04-2019 at 07:51 PM. |
11-04-2019, 07:37 PM | #2 |
Grand Sorcerer
Posts: 11,188
Karma: 227607846
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
It's easy to remove the background or font color in the conversion process, but there's no easy way to change the dark font to white during conversion, because the default font color is always black. You have to do it in the editor. Put color: white in the body style and remove all the other font colors from the css, if there are any.
|
Advert | |
|
11-04-2019, 07:55 PM | #3 |
null operator (he/him)
Posts: 20,946
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
11-04-2019, 08:22 PM | #4 |
creator of calibre
Posts: 44,380
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Add
* { color: white !important} tothe extra css setting in the conversion dialog. |
11-04-2019, 09:07 PM | #5 |
Grand Sorcerer
Posts: 11,188
Karma: 227607846
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
But that will only work if there is no black color specified in the individual paragraphs (there sometimes is, for whatever reason). Otherwise the paragraph color overrides the body color. Of course there might not be any color in paragraphs in that specific book, then it should work.
|
Advert | |
|
11-04-2019, 09:13 PM | #6 |
creator of calibre
Posts: 44,380
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's not a body color its a color for all tags.
|
11-04-2019, 09:17 PM | #7 |
Grand Sorcerer
Posts: 11,188
Karma: 227607846
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
|
11-04-2019, 09:52 PM | #8 |
creator of calibre
Posts: 44,380
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Actually you dont need to do either, just use the filter style information setting in the conversion dialog to remove all colors
|
11-04-2019, 10:24 PM | #9 | |
Member
Posts: 11
Karma: 10
Join Date: Oct 2011
Device: none
|
Quote:
|
|
11-04-2019, 10:33 PM | #10 | |
Member
Posts: 11
Karma: 10
Join Date: Oct 2011
Device: none
|
Quote:
Is there something I missed or something else that I can try? Thanks. Last edited by Darkenmal; 11-04-2019 at 10:37 PM. |
|
11-04-2019, 11:02 PM | #11 |
creator of calibre
Posts: 44,380
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
11-04-2019, 11:17 PM | #12 |
Member
Posts: 11
Karma: 10
Join Date: Oct 2011
Device: none
|
|
11-04-2019, 11:24 PM | #13 |
Grand Sorcerer
Posts: 11,188
Karma: 227607846
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Didn't it give you black text on white background? I thought you wanted white text on black.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
issue when using dark mode | sovre | Amazon Kindle | 9 | 08-22-2019 08:03 PM |
Sigil difficult to use in dark mode? | AprilHare | Sigil | 4 | 05-22-2019 12:31 PM |
Dark mode on MacOS Mojave | jdpinto | Calibre | 9 | 05-10-2019 09:53 AM |
Free online read (urban fantasy) from Pocket After Dark - Surrender the Dark | Susan Crealock | Deals and Resources (No Self-Promotion or Affiliate Links) | 2 | 12-12-2014 08:33 PM |
Free online read (paranormal romance) from Pocket After Dark - Dark Protector | Susan Crealock | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 05-15-2011 01:10 AM |