Improve color support for themes#1319
Improve color support for themes#1319rhaschke merged 7 commits intoros-visualization:melodic-develfrom VictorLamoine:colors_dark_theme
Conversation
|
Firendly 🐷 |
rhaschke
left a comment
There was a problem hiding this comment.
Heading into the right direction. To fix the remaining colors, search for QColor in the source tree 😉
|
@rhaschke can you have an other look? |
|
I will have another look, but probably not earlier than March 9th. |
It's emphasized with bold font. No need to use hard-coded custom background.
Unfortunately there is no means to access the system's theme colors as stated here: https://www.sitepoint.com/css-system-styles
|
Dear @VictorLamoine, Could you please git-reset your branch to this one and verify that everything looks fine for you as well? |
|
how do I use this? |
|
Just change your global desktop theme to a dark one. |
|
Hm.. I think I've done that. For instance, |
|
This might have run into a well-known Qt issue: In order to use gtk desktop themes, you need to install qt5-style-plugins and maybe |
|
that did the trick -- and setting that variable seems nessecary. Thanks! |
* improve color support for themes based on ros-visualization/rviz#1319 * fixup style issues * try this again * use Qt::ForegroundRole








This improves readability when using dark or other themes in RViz.
Before
White theme
Dark theme
There are some other colors that might be improved but this fixes the main issues I have seen.
Does someone know where the color is set for the status tree and similar entries?
