pbaity / rocketchat-dark-mode

An easy user-togglable dark mode for Rocket.Chat
MIT License
369 stars 126 forks source link

Modifications for 5.4.0 #208

Closed TBG-FR closed 1 year ago

TBG-FR commented 1 year ago

New RocketChat version 5.4.0 broke some elements, so I fixed them, and tried to improve rules and things while doing so

Modifications

Buttons colors and behaviours

Top right buttons has styling issues, and some of the other buttons had incoherent behaviours. I tried to use variables as much as possible, to remove complicated custom rules 🥳

   

Messages quotes

We had a lot of rules related to quotes (and it looks like they were now useless or broken by 5.4.0), so I started over and tried to match the normal behaviour, in dark mode

   

Announcements and banners (global / channels)

In 5.4.0, global announcements are now in neutral color, with a small line of color, so I kept that behaviour. However, I added back the color to channels announcements, picking a more appropriate color for dark theme ("reverts" #206 😅 )

image image

Contribute !