View Single Post
Old 06-27-2022, 05:45 PM   #10
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,830
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by BeckyEbook View Post
Hmmm,

What if you just added background-color: black; to the CSS file? (It works for me)
Solved! I only have to change the selector, with "body" instead of ":root" your solution works like a charm!

Code:
body {
    background-color: initial !important;
    color: initial !important;
    filter: invert(1);
}
Many thanks Becky!

EDIT: By the way, maybe Kevin or Diap could add as an option your very smart style "filter: invert(1)" in dark mode, so by checking or unchecking the option, the user would have both alternatives.

Last edited by RbnJrg; 06-27-2022 at 05:50 PM.
RbnJrg is offline   Reply With Quote