Bug 478979

Summary: Some book elements don't correctly change their coloring while in dark mode, and as a result are significantly harder to read
Product: [Applications] Arianna Reporter: Alexander Sanderson <1gsiqkbz>
Component: generalAssignee: Carl Schwan <carl>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 23.08.4   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Arianna displaying the described bug
Foliate showcasing how the text may look with the bug fixed

Description Alexander Sanderson 2023-12-24 23:56:17 UTC
Created attachment 164431 [details]
Arianna displaying the described bug

SUMMARY
Some book elements (namely, those with a light gray background) don't properly change their coloring while the app is set to the dark theme, which results in a sort of white-on-white text. Some ebook readers, such as Foliate or Apple Books, are capable of correctly changing the colors of these elements to suit dark mode, as attached in the second screenshot.

STEPS TO REPRODUCE
1. Set the system to dark theme
2. Open a book with gray-background elements (such as The Linux Command Line by William Shotts) in Foliate
3. Find an element as described in the summary

OBSERVED RESULT
The element is difficult to read with nearly white-on-white text


EXPECTED RESULT
The element features a background similar to that of the rest of the document, providing adequate contrast 


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20231222
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.11
Comment 1 Alexander Sanderson 2023-12-24 23:56:48 UTC
Created attachment 164432 [details]
Foliate showcasing how the text may look with the bug fixed