nioc / xmpp-web

Lightweight web chat client for XMPP server
GNU Affero General Public License v3.0
142 stars 20 forks source link

Light color theme #80

Closed Ppjet6 closed 1 year ago

Ppjet6 commented 1 year ago

Is your feature request related to a problem? Please describe. I've had a report from a user asking for a light color theme. It seems the only available theme is a dark theme. While I personally appreciate it, this is an accessibility issue as they can't see much of the web client as it is.

Describe the solution you'd like With a light theme, they would be able to navigate the chat more easily.

prefers-color-scheme then seems to be the way to use one or the other theme automatically depending on user-preference.

Ppjet6 commented 1 year ago

I should have looked beforehand. I found #38. It seems nothing actually came out of this.

nioc commented 1 year ago

I made a dedicated branch, with 1 commit which handle the functional part: https://github.com/nioc/xmpp-web/compare/master...light-mode

I did a light theme on another vue/bulma project by the past, it is a lot of work (dev but mostly check every component is ok with light theme)... and not enough time to handle it (as it is really not a key feature in my usage).

I close this one, feel free to reopen the previous if you think someone can do the CSS part (and tests).