-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Can't affect UI theme preference #7599
Comments
I'm not able to replicate this in v3.0.8. Do you have your browser configured to prefer dark mode? Maybe try a different browser? |
I've tried another browser before posting - same result. But, I've changed a browser internal theme from dark to light and NetBox had replicated that behaviour. Thus, NetBox leans on the browser (maybe even system for someone) color theme. |
I'm not really sure which should take precedence. @thatmattlove any thoughts? |
Tricky one. Hopefully a090955 adequately resolves this. The challenge is we have multiple vectors from which to determine the color mode:
Seems simple on the face, but consider the scenarios:
And, consider that these "problems" are presented on each page load and any time a color mode toggle is used. Ultimately, I implemented the logic as:
|
NetBox version
3.0.8
Python version
3.7
Steps to Reproduce
Expected Behavior
I expect to see the light theme.
Observed Behavior
The theme is dark.
The text was updated successfully, but these errors were encountered: