open-webui icon indicating copy to clipboard operation
open-webui copied to clipboard

PWA theme colour match dark/light themes

Open jtsorlinis opened this issue 1 year ago • 1 comments

Changelog Entry

Description

  • When using open-webui as a PWA the bottom and top bars are always white, which doesn't look great if using dark modes.

Added

  • PWA theme colour should now be light or dark depending on the selected theme.

jtsorlinis avatar Aug 08 '24 23:08 jtsorlinis

Look, I was going to implement this but I had problems with the OLED and the hur theme making the iPhone not recognize the current theme, oh you have to edit it in the settings too because if you change the theme it will only appear when you reload the app

erickgodev avatar Aug 11 '24 05:08 erickgodev

The issue still persists on iOS 17.5.1. I’m on latest v0.3.15 and the white status bars at top still show. Can we reopen this issue since it’s not fixed? The text on the bottom is also getting covered by swipe bar. Screenshot 2024-08-26 at 3 18 50 PM

parthpat12 avatar Aug 26 '24 19:08 parthpat12

Yeah I'm happy to make the suggested changes but someone closed the PR already

jtsorlinis avatar Aug 26 '24 20:08 jtsorlinis

Just reopened, but I'd encourage you to rebase first!

tjbck avatar Aug 27 '24 11:08 tjbck

I've added it to the listener, this won't work perfectly for black vs dark grey but having it as dark grey still looks a lot better than bright white

jtsorlinis avatar Aug 28 '24 02:08 jtsorlinis

Is this PR tested? Could you provide us with a video demo or you toggling between the dark/light mode?

tjbck avatar Aug 30 '24 17:08 tjbck