text
stringlengths
0
3.02k
[3/9/2024 3:38 PM] g30
@wildtangn:3t Here is an updated file from what I provided earlier, with the system light/dark mode implemented + Oled Dark option.
{Attachments}
https://cdn.discordapp.com/attachments/1210732510250541067/1216122927607582760/General.svelte?ex=6773ad7c&is=67725bfc&hm=a4546607f19d24a260efb4d804da0f0e6e3971b091e103b72695390bec3cfb8b&
[3/9/2024 3:38 PM] g30
I took note of this PR - https://github.com/open-webui/open-webui/pull/1115 🙂
{Embed}
https://github.com/open-webui/open-webui/pull/1115
feat: system os light/dark mode option 🔦 by dannyl1u · Pull Request...
Pull Request Checklist
Description: Briefly describe the changes in this pull request.
Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the ...
https://images-ext-1.discordapp.net/external/TWXneYbvBoH2CS50-b5aywo0S-qs6N9df_ldDDuu6ns/https/opengraph.githubassets.com/3afd8ff73a0ebdc055819d3364fc6b58358f06449834bcba16130a78dac2a9dc/open-webui/open-webui/pull/1115
[3/9/2024 3:39 PM] g30
The PR is not mine though
[3/9/2024 3:40 PM] g30
I honestly couldn't get AI to spit out any good CSS at me, so I'll leave that one up to you if you could tackle it. :c
[3/9/2024 3:56 PM] herman_miller
Lgtm! 😄
[3/9/2024 3:58 PM] g30
It seems to add the option, but I haven't got it to work on my end
[3/9/2024 4:21 PM] g30
Looks good in your demo video!
{Reactions}
👍
[3/9/2024 4:23 PM] herman_miller
I think OLED dark option would be cool
[3/9/2024 4:25 PM] g30
The only thing missing for it currently is the theme css file
[3/9/2024 4:25 PM] g30
See here
[3/9/2024 4:39 PM] herman_miller
looks like you're pretty close, just need to change some colors 😄
[3/9/2024 4:40 PM] g30
I don't know an easy way to visualize the colors I'm adjusting though in Firefox
[3/9/2024 4:41 PM] herman_miller
Start the backend in one terminal
`cd backend`
`sh start.sh`
Open another terminal
`npm run dev`
This will load the app on localhost:5173, and you can see live changes in your frontend without needing to restart the backend 🙂
[3/9/2024 4:43 PM] g30
# Serving Frontend with the Backend
cd ./backend
pip install -r requirements.txt -U
bash start.sh
I noticed I hadn't even done this yet.
[3/9/2024 4:44 PM] g30
Should I do this instead?
[3/9/2024 4:47 PM] herman_miller
That works too, but you just need to rebuild the frontend and rerun the server everytime you make a change
[3/9/2024 4:48 PM] g30
There is a start_windows.bat file
{Attachments}
https://cdn.discordapp.c…60ab03481699766&
[3/9/2024 4:49 PM] g30
`X:\open-webui-dev\backend>start_windows.bat
'uvicorn' is not recognized as an internal or external command,
operable program or batch file.`