[GH-ISSUE #726] Make web app theme follow prefers-color-scheme #1069

Open
opened 2026-03-14 11:38:21 +03:00 by kerem · 1 comment
Owner

Originally created by @Zwyx on GitHub (Apr 9, 2025).
Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/726

Hi and thank you for making Addy.io. I'm a fan (I have a paid plan and I'm also one of your sponsors on GitHub).

I've noticed that Dark Mode has recently been implemented. However, it only has two states, ON or OFF. It would be great to have the third state: "same as device".

Here's a demo: https://zwyx.github.io/proper-dark-theme

And a blog post explaining how it's done: https://zwyx.dev/blog/proper-dark-theme

Originally created by @Zwyx on GitHub (Apr 9, 2025). Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/726 Hi and thank you for making Addy.io. I'm a fan (I have a paid plan and I'm also one of your sponsors on GitHub). I've noticed that Dark Mode has recently been implemented. However, it only has two states, ON or OFF. It would be great to have the third state: "same as device". Here's a demo: https://zwyx.github.io/proper-dark-theme And a blog post explaining how it's done: https://zwyx.dev/blog/proper-dark-theme
Author
Owner

@RokeJulianLockhart commented on GitHub (Sep 1, 2025):

This should be remediable with :root { color-scheme: light dark }.

<!-- gh-comment-id:3243003715 --> @RokeJulianLockhart commented on GitHub (Sep 1, 2025): This should be remediable with `:root { color-scheme: light dark }`.
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/anonaddy#1069
No description provided.