-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Color mode does not take system theme in consideration after initial load #12330
Comments
I have solved this issue in https://github.com/netbox-community/netbox/tree/fix/color-mode by introducing a new preference called Currently, the branch is built using feature as it introduces a new variable. |
@abhi1693 assigning to you as it looks like you have a PR |
@arthanson The PR I have is incomplete and isn't working as I expected it. I did not want to hold someone else off with this if they had a better solution as I was stuck in getting this fixed. I can look into this again maybe next week though. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide. |
Marking this as blocked by #12128 |
I think this is a non bug, you have to actually have to clear out "cookies and other site data" for this to work with the reproduction steps above. Doing so will cause you to be logged out and removes the cookie settings, if you refresh the page you will see that you have to log back in and then can change the light/dark mode. |
This is a non-issue in NB 4, you need to clear the browser cache and cookies which will log you out, when you log back in you will get the color that you have specified in settings. Closing |
NetBox version
v3.4.8
Python version
3.10
Steps to Reproduce
Expected Behavior
Theme should work with system theme if user prefers it
Observed Behavior
Theme discards user preference
The text was updated successfully, but these errors were encountered: