Use "Sepia dark" if system is in dark mode and "Sepia light" if system is in light mode

Asked by Xuan Nguyen

My system automatically changes to dark mode at nighttime and changes to light mode at daytime.

Calibre interface and reader color scheme also adapts to the system mode. That's good.

However, currently Calibre automatically changes to
* "Black" color scheme if system is in dark mode
* "White" color scheme if system is in light mode

I would like to use "Sepia dark" color scheme in dark mode and "Sepia light" color scheme in light mode.
How could I change that?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu calibre Edit question
Assignee:
No assignee Edit question
Solved by:
Xuan Nguyen
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Possibly set:

CALIBRE_USE_SYSTEM_THEME

Source:
https://manual.calibre-ebook.com/customize.html

Revision history for this message
Xuan Nguyen (nguyen-dev) said (last edit ):
#2

@actionparsnip could you please giving an example, which value to be set for CALIBRE_USE_SYSTEM_THEME, so that Sepia dark/light is used instead of Black/While?
The link you mentioned only explains what it is and doesn't include any example how to use it to automatically change the theme to Sepia dark when system is in dark mode at all.

I emphasize again about the keywords "Sepia dark", "Sepia light", and "automatically change the theme".

Revision history for this message
Xuan Nguyen (nguyen-dev) said :
#3

I understand that your solution is only about the keyword "automatically change the theme".

My problem requires to solve additionally other two keywords: "Sepia dark", "Sepia light".

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

It'll make the app follow the system theme. So whatever the system theme is, it should copy

Revision history for this message
Xuan Nguyen (nguyen-dev) said :
#5

Thank you a lot for following the discussion and helping me!

Yes, I completely understood that. But the question is not about that.

I am using Windows 10, which has two modes: dark mode and light mode.
Calibre is changing themes to reflect the current system mode correctly.
I don't have an issue here.

But how to go extra miles to use "Sepia" theme instead of default Black/White themes?

Honestly, I wonder if you really understand my question?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

This is Ubuntu support

Revision history for this message
Xuan Nguyen (nguyen-dev) said :
#7

Oh, sorry. I don't know that this is only relevant to the app on ubuntu.
Thank you for your help!