-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Checklist
- I have used the search function to see if someone else has already submitted the same bug report.
- I will describe the problem with as much detail as possible.
App
K-9 Mail
App version
15.0
Where did you get the app from?
F-Droid
Android version
16
Device model
No response
Steps to reproduce
In emails with <html><head><style>:root{color-scheme:dark light}</style></head><body>, <html style='color-scheme:dark light'> or anything equivalent, when rendered in K9 dark mode, the colours from the email should be displayed as they are. This is currently done, when K9 itself is rendered only in light mode.
Expected behavior
The problem report is that for emails, specially adjusted to be rendered correctly in light and dark mode, K9 removes the colours, when K9 interprets dark mode.
This was not working with K9 10, worked with 11 and then stopped working with K9 12 or so, cf. #9363, where a sample email is attached.
For such emails I do not expect algorithmic adjustments of the colours, I expect that the colours are shown as indicated in the included CSS stylesheets.
Actual behavior
Colour preferences, included in the email are ignored, email is shown white text on dark background.
Logs
No response