Skip to content
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

Interface loads with dark theme even when 'dark_theme' is set to false #6613

Closed
1 task done
mamei16 opened this issue Dec 28, 2024 · 0 comments
Closed
1 task done
Labels
bug Something isn't working

Comments

@mamei16
Copy link
Contributor

mamei16 commented Dec 28, 2024

Describe the bug

When changing to the light theme and saving the setting as dark_theme: false in settings.yaml, the interface will startup in dark mode.
It seems to be caused by "dark" being present in document.body.classList at startup, even when dark_theme: false is saved in settings.yaml.
A related issue mentioning this problem is #4054.
I'll create a PR.

Is there an existing issue for this?

  • I have searched the existing issues

Reproduction

Put dark_theme: false into the settings.yaml file and start the webUI. It will still be in dark mode.

Screenshot

No response

Logs

none

System Info

none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant