mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
Accent color:
- added `Component.accentColor` - dark themes: changed threshold for contrast() from 39% down to 25% for better readability of text - Demo: added "Default" accent color and changed "Blue" to lighter color (issue #233)
This commit is contained in:
@@ -216,6 +216,7 @@ ComboBoxUI com.formdev.flatlaf.ui.FlatComboBoxUI
|
||||
|
||||
#---- Component ----
|
||||
|
||||
Component.accentColor #4b6eaf HSL 219 40 49 javax.swing.plaf.ColorUIResource [UI]
|
||||
Component.arc 5
|
||||
Component.arrowType chevron
|
||||
Component.borderColor #646464 HSL 0 0 39 javax.swing.plaf.ColorUIResource [UI]
|
||||
|
||||
@@ -220,6 +220,7 @@ ComboBoxUI com.formdev.flatlaf.ui.FlatComboBoxUI
|
||||
|
||||
#---- Component ----
|
||||
|
||||
Component.accentColor #2675bf HSL 209 67 45 javax.swing.plaf.ColorUIResource [UI]
|
||||
Component.arc 5
|
||||
Component.arrowType chevron
|
||||
Component.borderColor #c4c4c4 HSL 0 0 77 javax.swing.plaf.ColorUIResource [UI]
|
||||
|
||||
Reference in New Issue
Block a user