feat: Use DarkReader for dark mode emails

This commit is contained in:
Serhii Tereshchenko 2025-06-10 22:50:24 +03:00 committed by Niels De Graef
parent 8c31a8de21
commit efc10cd504
8 changed files with 8386 additions and 62 deletions

View file

@ -120,6 +120,21 @@ And for Ubuntu Messaging Menu integration:
sudo apt-get install libmessaging-menu-dev
```
Updating DarkReader plugin
--------------------------
We're using [DarkReader API](https://github.com/darkreader/darkreader) for dark mode.
To update it, download latest version from CDN and save as ui/darkreader.js
- [unpkg](https://unpkg.com/darkreader/)
- [jsDelivr](https://www.jsdelivr.com/package/npm/darkreader)
```sh
curl https://cdn.jsdelivr.net/npm/darkreader/darkreader.js --output ui/darkreader.js
```
---
Copyright © 2016 Software Freedom Conservancy Inc.
Copyright © 2018-2020 Michael Gratton <mike@vee.net>