Window decorations: RootPane.activeBorderColor and RootPane.inactiveBorderColor fixes:

- FlatDarkLaf.properties: changed darken() to lighten(), which does not change real colors due to autoInverse mechanism
- FlatLightLaf.properties: use also derived colors (to be consistent with FlatDarkLaf.properties and fix warning in UIDefaultsDump)
This commit is contained in:
Karl Tauber
2021-01-16 01:01:36 +01:00
parent 1024d6fc07
commit f97783ddef
4 changed files with 8 additions and 8 deletions

View File

@@ -218,8 +218,8 @@ ProgressBar.selectionBackground = @foreground
#---- RootPane ----
RootPane.activeBorderColor = darken(@background,7%,derived)
RootPane.inactiveBorderColor = darken(@background,5%,derived)
RootPane.activeBorderColor = lighten(@background,7%,derived)
RootPane.inactiveBorderColor = lighten(@background,5%,derived)
#---- ScrollBar ----

View File

@@ -230,8 +230,8 @@ ProgressBar.selectionBackground = @foreground
#---- RootPane ----
RootPane.activeBorderColor = #707070
RootPane.inactiveBorderColor = lighten($RootPane.activeBorderColor,20%,derived)
RootPane.activeBorderColor = darken(@background,50%,derived)
RootPane.inactiveBorderColor = darken(@background,30%,derived)
#---- ScrollBar ----