react-letter icon indicating copy to clipboard operation
react-letter copied to clipboard

Feature Request: Apply dark mode

Open 0xRaduan opened this issue 1 year ago • 4 comments

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 avatar Apr 23 '24 08:04 0xRaduan

@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?

mat-sz avatar Apr 23 '24 16:04 mat-sz

Thanks for reply, @mat-sz.

Let me research and come back with an answer.

0xRaduan avatar Apr 23 '24 16:04 0xRaduan