diff --git a/CHANGELOG.md b/CHANGELOG.md index 81769d9f..091bfce4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,8 @@ FlatLaf Change Log `Table.showVerticalLines`. (issue #38) - ProgressBar: Now uses blueish color for the progress part in "Flat Dark" theme. In the "Flat Darcula" theme, it remains light gray. +- Improved Swing system colors `controlHighlight`, `controlLtHighlight`, + `controlShadow` and `controlDkShadow`. ## 0.23.1 diff --git a/flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatDarkLaf.properties b/flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatDarkLaf.properties index d71ebe21..25fda3b0 100644 --- a/flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatDarkLaf.properties +++ b/flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatDarkLaf.properties @@ -64,10 +64,9 @@ activeCaption=#434E60 inactiveCaption=#393C3D -controlHighlight=#616669 -controlLtHighlight=#303234 -controlShadow=#afb3b5 -controlDkShadow=#d7d9da +controlHighlight=darken($controlShadow,20%) +controlLtHighlight=darken($controlShadow,25%) +controlDkShadow=lighten($controlShadow,10%) #---- Button ---- diff --git a/flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatLaf.properties b/flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatLaf.properties index 065d54ea..0c24e127 100644 --- a/flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatLaf.properties +++ b/flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatLaf.properties @@ -80,6 +80,7 @@ textHighlightText=@selectionForeground textInactiveText=@disabledText control=@background controlText=@foreground +controlShadow=$Component.borderColor scrollbar=$ScrollBar.track info=$ToolTip.background infoText=@foreground @@ -196,6 +197,7 @@ HelpButton.disabledQuestionMarkColor=$CheckBox.icon.disabledCheckmarkColor #---- List ---- List.border=1,0,1,0 +List.border=0,0,0,0 List.cellMargins=1,6,1,6 List.cellFocusColor=@cellFocusColor List.cellNoFocusBorder=com.formdev.flatlaf.ui.FlatListCellBorder$Default diff --git a/flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatLightLaf.properties b/flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatLightLaf.properties index 9733a667..91bc1207 100644 --- a/flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatLightLaf.properties +++ b/flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatLightLaf.properties @@ -66,8 +66,7 @@ activeCaption=#99b4d1 inactiveCaption=#bfcddb controlHighlight=#e3e3e3 controlLtHighlight=#fff -controlShadow=#a0a0a0 -controlDkShadow=#696969 +controlDkShadow=darken($controlShadow,15%) #---- Button ----