CheckBox and RadioButton: made focused icon better recognizable in **FlatLaf Light** and **Dark** themes by painting a 1px focus border; **Darcula** and **IntelliJ** themes are not changed

This commit is contained in:
Karl Tauber
2021-11-03 11:15:17 +01:00
parent d67cfc911b
commit aa4e013097
8 changed files with 10 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ Button.default.boldText = true
#---- CheckBox ----
CheckBox.icon.focusWidth = null
CheckBox.icon.focusedBackground = null

View File

@@ -128,6 +128,8 @@ Button.toolbar.selectedBackground = lighten($Button.background,7%,derived)
#---- CheckBox ----
CheckBox.icon.focusWidth = 1
# enabled
CheckBox.icon.borderColor = tint($Component.borderColor,5%)
CheckBox.icon.background = tint(@background,5%)

View File

@@ -54,6 +54,7 @@ Button.default.borderWidth = 1
#---- CheckBox ----
CheckBox.icon.style = filled
CheckBox.icon.focusWidth = null
CheckBox.icon.focusedBackground = null

View File

@@ -131,6 +131,8 @@ Button.toolbar.selectedBackground = $Button.selectedBackground
#---- CheckBox ----
CheckBox.icon.focusWidth = 1
# enabled
CheckBox.icon.borderColor = shade($Component.borderColor,10%)
CheckBox.icon.background = @buttonBackground