Haidra-Org / AI-Horde-Worker

This repo turns your PC into a AI Horde worker node
GNU Affero General Public License v3.0
242 stars 67 forks source link

webui is unusable with browser set to light mode #314

Open nyxkrage opened 9 months ago

nyxkrage commented 9 months ago

Here's how it looks with the browser set to light mode

image

and here it how it looks when enabling dark color scheme simulation in the Firefox devtools

image
robballantyne commented 9 months ago

Delete webui.css and it works ok - temporary workaround.

dmarkowicz commented 7 months ago

You can add the URL parameter http://127.0.0.1:7860/?__theme=dark The webui.css file relies on the presence of the .dark class to function properly. However, Gradio only adds the .dark class to body in dark mode. Here is how it works https://github.com/gradio-app/gradio/blob/main/js/app/src/Index.svelte#L180-L223