Template & Reminders Preview has dark background in light mode

With Invoice NInja in light mode the background of email previews in Templates & Reminders is black, instead of white. Changing to dark mode and back to light mode in Device Settings doesn’t help. Also changing the email design in Email Settings from Light to Dark, saving, and then resetting to Light and saving doesn’t help. Browser inspector css shows this:

:root {
color-scheme: light dark;

Perhaps “dark” is not being properly removed?


Are you using dark mode in the browser?

Of course! That fixes it. Would be nice if light mode in Invoice Ninja would override the browser setting, though.

Agreed, it’s on our backlog…

cc @david