-
Notifications
You must be signed in to change notification settings - Fork 866
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
Eliminate yellow from multi-colored tabs #8029
Comments
colored tabs will need some rethinking most likely. Changing the background without taking the foreground into account doesn't work very well - and the foreground got more complex over time (e.g #7930). The dark themes are not working very well with colored tabs too. |
@janicki btw you can edit those colors in the FlatLaf.properties tools -> options -> appearance -> flatlaf -> edit custom properties netbeans/platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/FlatDarkLaf.properties Lines 82 to 90 in daa8132
defaults for light theme are here: netbeans/platform/core.multitabs/src/org/netbeans/core/multitabs/impl/ProjectColorTabDecorator.java Lines 71 to 79 in daa8132
|
That's awesome! Thank you, Michael!! |
Description
I enabled the following option:
That's great, but I cannot find a way to edit the tab colors. So the third project is automatically assigned yellow tabs. The problem is that the currently-selected tab background is white, which is surprisingly difficult to find in a sea of yellow. See the screenshot.
There is a lot going on there: different background colors, different font colors, and different font weights. When there are even more tabs, finding the current tab is like a game of Where's Waldo... As soon as you find it, it is "so obvious," but it's a frustrating mystery until then.
So I'd suggest using a more-contrasting theme for the selected tab (at least when the multi-colored tabs option is enabled). For a quick fix, please just eliminate yellow from the default tab colors. To be extra-cool, maybe animate (blink?) the current tab whenever the mouse enters the tabs area. (One could argue that blinking would be "thematically" consistent with how the caret blinks in the editor panel.)
Use case/motivation
It is sometimes difficult to find the currently-selected document tab, when many are open, especially when some tab backgrounds are already light-colored (e.g. yellow) and the selected tab is only differentiated by being white.
Related issues
No response
Are you willing to submit a pull request?
Yes
The text was updated successfully, but these errors were encountered: