friebetill/obsidian-file-diff

color issue since update 1.1.0

Opened this issue · 3 comments

Since the update to version 1.1.0 I can't read the text anymore (in darkmode) because of the background colors.
The hint as explained here does not work.
Bildschirmfoto 2023-11-11 um 23 43 37

Edit:
I found out that this happens on macOS when Obsidian is set to the dark theme but the system is set to light. When the system is in dark mode, everything looks fine. Also, I think this has happened on previous versions as well.

This issue also happens on Windows when Obsidian is set to dark theme. The color snippet doesn't change the text color or text background color. It only changes the portion of the field that has no text.

@friebetill any help here?

Nvm. I found the selector we should be using in the snipped to edit the text background
file-diff_top-line__character