I changed the layout and colours in light-mode to make the Telegram in Franz look more like the Telegram desktop app. It's still not an exact clone, but it's closer!
[ ] Some of the pop up windows are unfinished, although they are usable. E.g. the Forward message dialogue window, and windows accessible from the burger menu
[ ] I overrode a lot of @magazov's black backgrounds with the dark blue of the Telegram desktop. We should probably do this directly in magazov's code instead of overriding.
[x] When selecting a message in dark mode, it doesn't get highlighted. Also the "check" icon appears off.
[x] Use 2 spaces for indentation.
[ ] Often instead of !important we could have made the selector more specific e.g. by putting body in front. But that won't always work.
(The issue here is that sometimes our CSS appears in the DOM before Telegram's CSS, and sometimes after. This behaviour appears to be inconsistent. If we cannot consistently load our stylesheet after Telegram's, then we need to take extra measures to override their CSS rules.)
Current Telegram in Franz
Telegram in Franz (this branch)
Telegram desktop app
Telegram in Franz (this branch)
Telegram desktop app
I changed the layout and colours in light-mode to make the Telegram in Franz look more like the Telegram desktop app. It's still not an exact clone, but it's closer!
I then did the same for dark-mode, based on magazov's branch.
Some things still TODO:
!important
we could have made the selector more specific e.g. by puttingbody
in front. But that won't always work. (The issue here is that sometimes our CSS appears in the DOM before Telegram's CSS, and sometimes after. This behaviour appears to be inconsistent. If we cannot consistently load our stylesheet after Telegram's, then we need to take extra measures to override their CSS rules.)Current Telegram in Franz Telegram in Franz (this branch) Telegram desktop app Telegram in Franz (this branch) Telegram desktop app
This PR will close https://github.com/meetfranz/franz/issues/1240