mbien commented on PR #7930:
URL: https://github.com/apache/netbeans/pull/7930#issuecomment-2519346062

   
![html-color-invert](https://github.com/user-attachments/assets/ab4ef31c-761a-4457-8567-bf22d218871a)
   
   what you see here is the html renderer noticing that the contrast is too low 
and trying to fix it to set the color to the complementary white or black. This 
is the opposite of what the intention is since it is now highlighting the 
folder instead of the file.
   
   As previously mentioned the tricky part is to make it work on different 
background / foregrounds - its used on different components and component 
states.
   
   I reduced the fade value to 0.7f and computed it for the tabs and 
tabs-switcher separately, since both have different colors.
   
   
![faded-folders](https://github.com/user-attachments/assets/41c7bf00-1664-48a1-b109-43b468b5099a)
   
   Tested on all supported themes and it looks ok I think. The "same background 
color for same projects" mode is still not working very well, esp on dark 
themes, but making both decorators work well together won't be easy.
   
   here the commit 
https://github.com/apache/netbeans/commit/c4ea2916a398a77a04c839a97398b58845c57cb5,
 feel free to squash it with your PR


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to