DevCharly opened a new pull request, #5795:
URL: https://github.com/apache/netbeans/pull/5795

   Since changing accent color in FlatLaf custom properties does not work as 
expected for Cupertino themes (see issue #5461),
   I've added a combobox to the options dialog to allow setting accent color in 
UI. FlatLaf API is used to enable accent color so that it works correctly in 
Cupertino themes.
   
   
![grafik](https://user-images.githubusercontent.com/5604048/230694039-58bcd628-d42a-451a-b72f-2017d8e6939c.png)
   
   There are some predefined accent colors, which work good for light and dark 
themes. These are the same colors that macOS (and FlatLaf Demo app) uses. There 
is also a "Custom" item in the combobox that allows to set any color.
   
   
![grafik](https://user-images.githubusercontent.com/5604048/230692669-ee92a742-d493-470a-ab04-4f594c6087c2.png)
   
   The colors are defined in `FlatLaf.properties` (key 
`nb.accentColors.predefined`).
   


-- 
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