-
-
Notifications
You must be signed in to change notification settings - Fork 469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve color support for themes #1319
Improve color support for themes #1319
Conversation
Firendly 🐷 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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?
![status tree](https://user-images.githubusercontent.com/5566160/50601492-9ba9a800-0eb4-11e9-99a1-0f5a28d1cb7a.png)