-
Notifications
You must be signed in to change notification settings - Fork 731
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 push/tool button colors/states #260
Comments
Hi @dpizetta, thanks for pointing out this problem! I completely agree that we need more than three options for a lot of the color groups to make sure we have options for areas of the UI with more states (like the buttons) and to help able to keep enough color contrast. In the last round of spyder-ide/ux-improvements #13, we decided to have four options for most groups, similar to what you’ve proposed here. @juanis2112 and I have been double checking how all these colors work with Spyder as an example application, and have made some changes since the linked post (like more background colors to support all the button states like you have above, for example!). I will follow up with the changes on 13 and this issue when we make sure we aren’t still missing any pieces as we transition, and we are hoping to make this a PR soon. You can also see how some of these colors can work together spyder-ide/ux-improvements #28 where we were working on buttons and their states for a few different toolbars. Does this seem like a good range of states and colors, or do you have any other feedback? I’m always happy to have more people reviewing this work to make sure it makes sense and can work for other applications too! |
I appreciate your contribution to this. I will check proposed changes in spyder-ide/ux-improvements #28 and give you feedback. I would recommend you test those changes in the QDarkStyle example where we have all the possible QtWidgets together, with no special/hardcoded configuration. To compile and apply the changes, just run the script in the run_ui_css_edition.py. |
To be more consistent I'm going to apply the same style of push buttons for the tool buttons. So, who needs a transparent background will need to change that. |
@ccordoba12 @juanis2112 Using the same aspects for both push-button and tool button causes some issues on spyder 5.0.0a7. Screenshots below. You need to add a transparent background for the tool buttons. Note that the plots dock they appear correctly, I think you are using the toolbar there. |
@dpizetta, we are aware of that problem, but thanks for mentioning it. We fixed it (along with other issues) in PR spyder-ide/spyder#14933. |
I would like to propose to improve button colors taking advantage of @isabela-pf expertise :) And color palette proposed in spyder-ide/ux-improvements#13
We have reduced the palette and named the colors to get things easy to maintain/change. However, I think we need to add one more tone (foreground, background, adding middleground) to improve button states.
Currently, when buttons are pressed or disabled they are colored as background, what seems like a hole in the toolbars, or they disappear (only text) if on a background color.
No dark theme applied:
Proposed changes:
@ccordoba12, @juanis2112, @isabela-pf what do you think about it? Tks
The text was updated successfully, but these errors were encountered: