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


   Update FlatLaf to v2: 
https://github.com/JFormDesigner/FlatLaf/releases/tag/2.0
   
   There are (nearly) no visual differences compared to previous used version, 
except the slightly changed [check boxes and radio 
buttons](https://github.com/JFormDesigner/FlatLaf/pull/414).
   
   The main benefits of FlatLaf v2 for NetBeans are the reworked [core 
themes](https://github.com/JFormDesigner/FlatLaf/pull/390) (easier changing 
colors), the possibility to [change the accent 
color](https://github.com/JFormDesigner/FlatLaf/pull/375) and the [FlatLaf 
Theme Editor](https://www.formdev.com/flatlaf/theme-editor/). This should it 
make it relative easy to change colors/style of the light and dark themes to 
differentiate more from IntelliJ IDEA look.
   
   E.g. adding following to 
`platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/FlatLightLaf.properties`
   ~~~
   @background = #f3f3f3
   @accentColor = #007aff
   ~~~
   
   would change the look to (blue accent color; background minimally lighter):
   
   
![image](https://user-images.githubusercontent.com/5604048/148990227-2b6e9ba3-4ae5-4917-8dba-b7eea54ffc69.png)
   
   
   Or adding following to 
`platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/FlatDarkLaf.properties`
   
   ~~~
   @background = #333
   @foreground = #c4c4c4
   @accentColor = darken(#007aff,5%)
   
   Button.default.foreground = #ddd
   ~~~
   
   would make NetBeans darker and give text more contrast:
   
   
![image](https://user-images.githubusercontent.com/5604048/148990745-0c0c2c64-2213-46c8-8bc7-e73cbc3edb5a.png)
   
   Not sure how to "organize" work/ideas on such theme changes...
   Maybe create two "Draft PRs" (for light and dark) where interested people 
can comment and add commits?


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