Dark Mode Persistance #2004
adam-rozen
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I am suggesting saving the dark mode setting to the user's account. This is similar to #1042, but I am posting this as a new Feature Request as that discussion does not show up for some reason when I try to search for it in the GitHub Discussions page.
Currently SimpleLogin seems to just uses a cookie to determine if the site should show in dark mode. This means that dark mode is not synced across devices.
In addition, browsers that clear cookies on exit will have the setting reset every time the browser is quit. A workaround of using the popular Firefox addon Dark Reader does not work, see #1374.
Here is my idea for a basic implementation without changing any UI:
Looking through this repository, I have identified 4 files that I think would need changes:
I can try working on this and have sent an email to the address in the contributing guide to see if it is already being worked on.
Beta Was this translation helpful? Give feedback.
All reactions