I've encountered an issue with the dark theme, with unreadable text when typing into a PDF form using evince.
I should be able to read text typed into a PDF form using evince in the dark theme.
It looks like this, with the text in the form white-on-white (slightly different whites but not visible). There is text being entered in the "First name and initial" field, but it is blank. Once I leave the field, evince renders it as blue text and it is readable. But during editing it looks like this:

If the window is not focused then the text become visible, with the text entry widget getting a dark background.

If I put evince in dark mode then the text is white on black:

However, in evince dark-mode and Yaru light, the text is also not super visible, though it is not too bad:

I've installed Yaru from the Arch Linux AUR and updated it to current git master, git describe in the package build dir gives r27-35-gf36189f4
Software that presents the issue:
Hey @chrisjbillington, thanks for taking time to help us. Bug is confirmed on Disco as well
I just double checked, the issue is reproducible in Adwaita as well and I believe it's something we can't avoid. The problem is that Evince does not take into account theme variant.
This means that whatever we do, we (as well as Adwaita) end up in a misbehavior, without knowing in which mode is Evince set.
Best would be to explain the problem to Evince's maintainers and see what they think about it.
Looks like this issue is known to Evince devs, and was fixed very recently:
https://gitlab.gnome.org/GNOME/evince/issues/687
I can't test the fix, but if I understand the problem correctly, it looks like the fix should apply well to all themes both in Evince's light and dark modes.
Most helpful comment
Looks like this issue is known to Evince devs, and was fixed very recently:
https://gitlab.gnome.org/GNOME/evince/issues/687
I can't test the fix, but if I understand the problem correctly, it looks like the fix should apply well to all themes both in Evince's light and dark modes.