mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-29 23:32:01 -05:00
This commit fixes a bug where the 'Her' theme would switch to dark mode after a logout/login cycle. The issue was caused by two problems: 1. The `dark` class was being incorrectly added to the `documentElement` when the 'Her' theme was selected in `src/app.html`. 2. The `applyTheme` function in `src/lib/components/chat/Settings/General.svelte` was not explicitly setting the 'Her' theme as a light theme. This commit resolves both of these issues, ensuring that the 'Her' theme is always a light theme.