mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-12 15:07:11 -06:00
Button and ToggleButton: added missing foreground colors for hover, pressed, focused and selected states (issue #535)
This commit is contained in:
@@ -78,9 +78,15 @@ controlDkShadow = #696969
|
||||
Button.startBackground = #fff
|
||||
Button.endBackground = #bbb
|
||||
Button.focusedBackground = #0ff
|
||||
Button.focusedForeground = #00f
|
||||
Button.hoverBackground = #ff0
|
||||
Button.hoverForeground = #00f
|
||||
Button.pressedBackground = #FFC800
|
||||
Button.pressedForeground = #0080ff
|
||||
Button.selectedBackground = #fbb
|
||||
Button.selectedForeground = #321
|
||||
Button.disabledSelectedBackground = #123
|
||||
Button.disabledSelectedForeground = #fcc
|
||||
|
||||
Button.borderColor = #0f0
|
||||
Button.startBorderColor = #00f
|
||||
@@ -95,8 +101,11 @@ Button.default.startBackground = #ddd
|
||||
Button.default.endBackground = #888
|
||||
Button.default.foreground = #800
|
||||
Button.default.focusedBackground = #0ff
|
||||
Button.default.focusedForeground = #00f
|
||||
Button.default.hoverBackground = #ff0
|
||||
Button.default.hoverForeground = #00f
|
||||
Button.default.pressedBackground = #FFC800
|
||||
Button.default.pressedForeground = #0080ff
|
||||
Button.default.startBorderColor = #f00
|
||||
Button.default.endBorderColor = #00f
|
||||
Button.default.hoverBorderColor = #f00
|
||||
@@ -104,8 +113,13 @@ Button.default.focusedBorderColor = #537699
|
||||
Button.default.focusColor = #f00
|
||||
|
||||
Button.toolbar.hoverBackground = #fff
|
||||
Button.toolbar.hoverForeground = #000
|
||||
Button.toolbar.pressedBackground = #eee
|
||||
Button.toolbar.pressedForeground = #666
|
||||
Button.toolbar.selectedBackground = #ddd
|
||||
Button.toolbar.selectedForeground = #800
|
||||
Button.toolbar.disabledSelectedBackground = #ccc
|
||||
Button.toolbar.disabledSelectedForeground = #866
|
||||
|
||||
|
||||
#---- CheckBox ----
|
||||
@@ -422,12 +436,23 @@ ToggleButton.background = #ddf
|
||||
ToggleButton.selectedBackground = #4f4
|
||||
ToggleButton.selectedForeground = #000
|
||||
ToggleButton.disabledSelectedBackground = #4d4
|
||||
ToggleButton.disabledSelectedForeground = #fff
|
||||
|
||||
ToggleButton.focusedBackground = #0ff
|
||||
ToggleButton.focusedForeground = #00f
|
||||
ToggleButton.hoverBackground = #ff0
|
||||
ToggleButton.hoverForeground = #00f
|
||||
ToggleButton.pressedBackground = #FFC800
|
||||
ToggleButton.pressedForeground = #0080ff
|
||||
|
||||
ToggleButton.toolbar.hoverBackground = #fff
|
||||
ToggleButton.toolbar.hoverForeground = #000
|
||||
ToggleButton.toolbar.pressedBackground = #eee
|
||||
ToggleButton.toolbar.pressedForeground = #666
|
||||
ToggleButton.toolbar.selectedBackground = #ddd
|
||||
ToggleButton.toolbar.selectedForeground = #800
|
||||
ToggleButton.toolbar.disabledSelectedBackground = #ccc
|
||||
ToggleButton.toolbar.disabledSelectedForeground = #866
|
||||
|
||||
|
||||
#---- ToolBar ----
|
||||
|
||||
Reference in New Issue
Block a user