Re: [Evolution] HTML Rendering - Dark Theme not working



Hi Andre, thanks.

I checked the related issues but couldn't find the proper answer.

There was a discussion to change one part of the code (by Milan), but
in my version 3.38.4 this was already fixed. Copying below just for
reference.

      if (doc.defaultView && !doc.defaultView.frameElement &&
      !doc.body.hasAttribute("class"))
        doc.body.className = "-e-web-view-background-color -e-
      web-view-text-color";
      if (doc.documentElement.style.getPropertyValue("color") == "" ||
          doc.documentElement.style.getPropertyValue("color") ==
      "text") {
        doc.documentElement.style.setProperty("color",
      "inherit");
        doc.documentElement.style.setProperty("background-
      color", "inherit");
        }
      
Appreciate the support.

Thanks


On Sun, 2021-03-28 at 16:33 +0200, Andre Klapper via evolution-list
wrote:
Hi,

On Sun, 2021-03-28 at 16:14 +0300, reckor via evolution-list wrote:
I'm using Evolution 3.38.4 and adwaita-dark theme.

Everything is dark, but incoming HTML emails which turns into
white.

Is this a bug? Is there any solution, please?

See https://gitlab.gnome.org/GNOME/evolution/-
/issues/?scope=all&state=all&search=adwaita+dark
for some related issues.

Cheers,
andre
--
Andre Klapper  |  ak-47 gmx net
https://blogs.gnome.org/aklapper/


_______________________________________________
evolution-list mailing list
evolution-list gnome org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]