Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Apply dark mode #20

Open
0xRaduan opened this issue Apr 23, 2024 · 2 comments
Open

Feature Request: Apply dark mode #20

0xRaduan opened this issue Apr 23, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@0xRaduan
Copy link

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.

@mat-sz mat-sz self-assigned this Apr 23, 2024
@mat-sz mat-sz added enhancement New feature or request question Further information is requested labels Apr 23, 2024
@mat-sz
Copy link
Owner

mat-sz commented Apr 23, 2024

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

@0xRaduan
Copy link
Author

Thanks for reply, @mat-sz.

Let me research and come back with an answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants