react-letter
react-letter copied to clipboard
Feature Request: Apply dark mode
Curious if it's possible to apply dark mode on the html of an email? If so, would be great to pass it as an option.
@0xRaduan
Hey, that's a great idea -- unfortunately, the implementation of a darkmode filter itself (like Dark Reader) would be out of scope for this project.
But if you have an idea what API I could expose on my end that would let you use third-party dark mode libraries, please let me know.
I was thinking of just exposing the DOM both pre-sanitization and post-sanitization; would that help?
Thanks for reply, @mat-sz.
Let me research and come back with an answer.