Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-18-2024, 09:44 PM   #1
scop
Member
scop began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2011
Location: Perth (Australia)
Device: Kindle PW 3
Problem with interface colors

Hi Calibre community,

I have a thorny problem that I wonder if someone can help me with. I am using calibre 7.12 on macOS Ventura 13.6.7.

I have my Mac set to "Auto" under the Appearance settings, which automatically switches between light and dark mode depending on the time of the day. Calibre follows this setting too.

In the Calibre settings "Look & Feel" --> "User Interface Style" I have selected "System default".

When the system is in dark mode, some of the hyperlinks are hard to see. In the book details panel on the right, the metadata hyperlinks are fine, but the hyperlinks added in the comments area and the link to upgrade a plugin in the bottom status bar GUI are a different shade of blue which is very hard to see in dark mode. Please see the attached screenshot to see what I mean. (It looks worse on the screen than in the screenshot)

I have looked everywhere for a way to change the default, but I have not found a way to do this.

I also noticed the following: If I change the system to light mode and add a hyperlink into the comments field, and then check the HTML source, I get the following:

Code:
<p>NB: A markdown version of this book is in 
<a href="obsidian://open?vault=IT%20Knowledge%20Base&amp;file=Docs%2Ftao-of-tmux%2FREADME">
<span style="color: #094fd1">Obsidian</span></a>.</p>
You can see that the system is automatically adding in a span tag with the color set to #094fd1. This is the problematic color that makes it hard to see in dark mode.

However, if I add the same text when in DARK mode, the following code is automatically added:

Code:
<p>NB: A markdown version of this book is in 
<a href="obsidian://open?vault=IT%20Knowledge%20Base&amp;file=Docs%2Ftao-of-tmux%2FREADME">
<span style="color: #3586ff">Obsidian</span></a>.</p>
This time, the color is #3586ff which looks fine in both light and dark modes.

What I would really like is to be able to set the color in these comment hyperlinks so they are easy to see on both light and dark modes.

I don't know if this color is controllable anywhere in the Calibre settings?

And what about the color in the bottom status bar, where it is telling me there is a plugin update? Can I fix the color there as well?

Thanks in advance for any assistance!
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2024-06-19 at 9.14.34 am.png
Views:	39
Size:	113.8 KB
ID:	209035  

Last edited by scop; 06-18-2024 at 09:46 PM.
scop is offline   Reply With Quote
Old 06-18-2024, 09:59 PM   #2
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,070
Karma: 6425108
Join Date: Sep 2020
Device: Calibre E-book viewer
Have you tried setting UI style to "calibre style" instead of "System default"?

Then click Adjust colors -> dark mode colors tab -> link color should be the second to last you want to change:

Click image for larger version

Name:	MWSnap 2024-06-18, 22_56_21.png
Views:	37
Size:	294.3 KB
ID:	209036
Comfy.n is offline   Reply With Quote
Old 06-19-2024, 12:43 AM   #3
scop
Member
scop began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2011
Location: Perth (Australia)
Device: Kindle PW 3
Smile

Thank you so much for your reply @Comfy.n!

So you got it in one shot. In fact, as soon as I had changed the UI style to "calibre", I didn't need to customise the link colors: the default colors set in the "calibre UI" settings are OK in both light and dark modes.

TIL that it is better to use the calibre UI settings which give one much more control that the "system" UI settings.

I think that was the only thing I had not tried yet. Thanks for pointing me in the right direction.

The only minor problem now is that I have quite a few hyperlinks in book comments which still have the old <span> code with the problematic colors, which are still overriding the new defaults. But I can probably just edit them gradually over time.

Thanks again for the help!

PS It is interesting once you enter a hyperlink in the comments, the color that is applied (depending on whether you are in light or dark mode at the time) is kept permanently regardless of which mode you later switch to. It would be a nice enhancement for them to switch color depending on the mode you are currently in (using the colors preset in the settings for the calibre UI style).
scop is offline   Reply With Quote
Old 06-19-2024, 01:17 AM   #4
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,070
Karma: 6425108
Join Date: Sep 2020
Device: Calibre E-book viewer
you're welcome ...actually we have to thank Kovid and all developers that contribute to this unbelievably customisable program.

regarding comments undesired styling, the Comment Cleaner plugin might be helpful:

https://www.mobileread.com/forums/sh...d.php?t=333861
Comfy.n is offline   Reply With Quote
Reply

Tags
color, dark mode, hyperlink


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie - interface problem / question dmcentee Calibre 5 10-28-2016 11:08 PM
Problem with font & background colors on the Ebook Viewer darthktulu Calibre 3 10-27-2013 11:24 PM
Calibre interface problem jeem Calibre 2 01-21-2013 09:09 AM
column colors iomari Calibre 2 10-07-2011 10:39 AM
Colors for the 300?? retro Sony Reader 5 11-29-2009 07:48 AM


All times are GMT -4. The time now is 02:34 PM.


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