Accent color:

- Demo: added accent color switching to toolbar
- added `FlatLaf.setGlobalExtraDefaults()` for easy setting accent color at runtime

(issue #233)
This commit is contained in:
Karl Tauber
2021-08-31 14:06:41 +02:00
parent 7f9cf6f45c
commit d333d0c9e4
7 changed files with 220 additions and 19 deletions

View File

@@ -14,4 +14,16 @@
# limitations under the License.
#
#---- Demo.accent ----
Demo.accent.blue = #4B6EAF
Demo.accent.purple = #BF5AF2
Demo.accent.red = #e81123
Demo.accent.orange = #FF9F0A
Demo.accent.yellow = #FFCC00
Demo.accent.green = #32D74B
#---- HintPanel ----
HintPanel.backgroundColor = darken(#ffffe1,80%)

View File

@@ -14,4 +14,16 @@
# limitations under the License.
#
#---- Demo.accent ----
Demo.accent.blue = #2675BF
Demo.accent.purple = #BF5AF2
Demo.accent.red = #FF3B30
Demo.accent.orange = #FF9500
Demo.accent.yellow = #FFCC00
Demo.accent.green = #28CD41
#---- HintPanel ----
HintPanel.backgroundColor = #ffffe1