@vmsman@Daniil
I ran into the same problems with 5.0
It’s still not a real dark theme which is higly appreciated but i found that this version of the script is working:
they also seem to try to keep up to date with version changes.
5.0.2 which i use works with it, altough its not mentioned on github yet.
hope this helps.
mathias
Thanks @mathias. So, this is really interesting. I was using this script in 5.0 and it was not working. It was sort of 50/50 light dark. I too updated to 5.02 a couple days ago. Magically the script I had been using and the one you reference just started working properly again. Yay! Will wonders never cease? Thanks for the heads up.
i also had 50/50 light dark but with an older script. i think they keep it up to date on github so it makes sense to check each time it breaks with a new version. however maybe also between 5.0 and 5.02 there is a change in rc but this is unlikely i guess? however good that it works for you
After a quick digging, we found out that we had to add the --message-box-color variable to fix the aforementioned bug at the beginning of the body.dark-mode class definition.
@rhapsodos that solution rocked! Thanks for that. Worked like a charm. Have you noticed that the title bar at the top of a channel is also this bright white in this version?
Having a modern proper user-toggleable dark theme is a must have in these times.
Not everyone can stand a super bright eye-cancer white chat page, I personally prefer having dark themes.
Heck I even changed the SAP appearance for my SAP interface at work, because they didn’t provide a proper modern user toggleable dark theme.
So dear RocketChat developers: Please add an actual dark theme that users can toggle themselves,
this is actually a accessibility setting that helps impaired people to use a product properly.