Open dafoxia opened 8 years ago
Sounds like a good idea. @xPoke / @mkrautz I assume we can just add some QSS classes and those automatically become available in chat?
What presets would be helpful? Something like
Or something like that? What are the use-cases we want to cover?
We can just allow the colors from ApplicationPalette in the chat, those colors are designed for this purpose in QT applications, so they should work just as well in the chat.
Hm. What do you mean by "allow"?
I would have to experiment when I get home, but generally I mean using the ApplicationPalette colors we defined such as qproperty-text or qproperty-highlight, etc, in the chat window's HTML properties. It should be something along the lines of:
<a href="../html-link.htm" style="color:QPalette.Active">
Or any other syntax which works (gotta make sure not to break HTML/CSS). How to set these colors is interesting though. Maybe we can parse them before display and replace them with the appropriate #color?
Feature Request:
It would be fine if themes had predifined colors/styles for chat highlighting. So mumble moderator or other scripts can use this styles and avoid that message could not be read on client side because theme settings. I think 2 or 3 colors are enough.