mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-12 06:57:13 -06:00
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:
@@ -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 ----
|
||||
|
||||
@@ -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 ----
|
||||
|
||||
Reference in New Issue
Block a user