mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00: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. |
||
|---|---|---|
| .. | ||
| ContentRenderer | ||
| Controls | ||
| MessageInput | ||
| Messages | ||
| ModelSelector | ||
| Overview | ||
| Placeholder | ||
| Settings | ||
| Artifacts.svelte | ||
| Chat.svelte | ||
| ChatControls.svelte | ||
| ChatPlaceholder.svelte | ||
| MessageInput.svelte | ||
| Messages.svelte | ||
| ModelSelector.svelte | ||
| Navbar.svelte | ||
| Overview.svelte | ||
| Placeholder.svelte | ||
| SettingsModal.svelte | ||
| ShareChatModal.svelte | ||
| ShortcutsModal.svelte | ||
| Suggestions.svelte | ||
| TagChatModal.svelte | ||
| Tags.svelte | ||
| ToolServersModal.svelte | ||