fixed Swing system colors in dark themes

This commit is contained in:
Karl Tauber
2019-12-08 10:21:07 +01:00
parent 46f0393648
commit 2211cc5596
7 changed files with 225 additions and 15 deletions

View File

@@ -54,14 +54,14 @@
*.acceleratorSelectionForeground=@selectionForeground
#---- system ----
#---- system colors ----
control=@background
controlText=@foreground
infoText=@foreground
text=@foreground
textText=@foreground
window=@background
activeCaption=#434E60
inactiveCaption=#393C3D
controlHighlight=#616669
controlLtHighlight=#303234
controlShadow=#afb3b5
controlDkShadow=#d7d9da
#---- Button ----

View File

@@ -61,6 +61,30 @@ ViewportUI=com.formdev.flatlaf.ui.FlatViewportUI
@textComponentMargin=2,6,2,6
#---- system colors ----
desktop=@textComponentBackground
activeCaptionText=@foreground
activeCaptionBorder=@@activeCaption
inactiveCaptionText=@foreground
inactiveCaptionBorder=@@inactiveCaption
window=@background
windowBorder=@foreground
windowText=@foreground
menu=@background
menuText=@foreground
text=@textComponentBackground
textText=@foreground
textHighlight=@selectionBackground
textHighlightText=@selectionForeground
textInactiveText=@disabledText
control=@background
controlText=@foreground
scrollbar=@@ScrollBar.track
info=@@ToolTip.background
infoText=@foreground
#---- Button ----
Button.border=com.formdev.flatlaf.ui.FlatButtonBorder

View File

@@ -54,14 +54,14 @@
*.acceleratorSelectionForeground=@selectionForeground
#---- system ----
#---- system colors ----
control=#e0e0e0
controlText=@foreground
infoText=@foreground
text=@foreground
textText=@foreground
window=@background
activeCaption=#99b4d1
inactiveCaption=#bfcddb
controlHighlight=#e3e3e3
controlLtHighlight=#fff
controlShadow=#a0a0a0
controlDkShadow=#696969
#---- Button ----