mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-13 23:37: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:
@@ -16,9 +16,11 @@
|
||||
|
||||
#---- Demo.accent ----
|
||||
|
||||
Demo.accent.blue = #4B6EAF
|
||||
# accent colors from https://github.com/89netraM/SystemColors/blob/master/src/net/asberg/macos/AccentColor.java
|
||||
Demo.accent.default = #4B6EAF
|
||||
Demo.accent.blue = #0A84FF
|
||||
Demo.accent.purple = #BF5AF2
|
||||
Demo.accent.red = #e81123
|
||||
Demo.accent.red = #FF453A
|
||||
Demo.accent.orange = #FF9F0A
|
||||
Demo.accent.yellow = #FFCC00
|
||||
Demo.accent.green = #32D74B
|
||||
|
||||
@@ -16,7 +16,9 @@
|
||||
|
||||
#---- Demo.accent ----
|
||||
|
||||
Demo.accent.blue = #2675BF
|
||||
# accent colors from https://github.com/89netraM/SystemColors/blob/master/src/net/asberg/macos/AccentColor.java
|
||||
Demo.accent.default = #2675BF
|
||||
Demo.accent.blue = #007AFF
|
||||
Demo.accent.purple = #BF5AF2
|
||||
Demo.accent.red = #FF3B30
|
||||
Demo.accent.orange = #FF9500
|
||||
|
||||
Reference in New Issue
Block a user