mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[PR #1115] [MERGED] feat: system os light/dark mode option 🔦 #20580
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/1115
Author: @dannyl1u
Created: 3/9/2024
Status: ✅ Merged
Merged: 3/18/2024
Merged by: @tjbck
Base:
dev← Head:feat/system-wide-theme📝 Commits (10+)
b94dc76implement system wide light/dark mode option 🔦27153ddremove unused variable6f3acb3update theme handling and persist selection using Svelte storef1716f4add event listener in app.html to handle system theme changesdb0712aMerge branch 'dev' into feat/system-wide-themef55dae3fix merge conflictf25a967add system theme ⚙️ option to select menu549408dAdd setContext import to +layout.svelte41cb6d7remove duplicate "System" in select menua57586ause IIFE in app.html to prevent FOUC📊 Changes
3 files changed (+66 additions, -33 deletions)
View changed files
📝
src/app.html(+28 -11)📝
src/lib/components/chat/Settings/General.svelte(+37 -21)📝
src/lib/stores/index.ts(+1 -1)📄 Description
Pull Request Checklist
Description
Add support for system OS light and dark themes to the web application, improving the user experience and providing a more seamless integration with the user's preferences. Closes https://github.com/open-webui/open-webui/issues/1065
Changelog Entry
Added
Changed
applyThemefunction🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.