Button: optionally support gradient border and gradient background for improved compatibility with IntelliJ platform themes (e.g. Vuesion and Spacegray themes)

This commit is contained in:
Karl Tauber
2019-11-30 17:58:40 +01:00
parent a14ef72177
commit de82dac873
8 changed files with 66 additions and 23 deletions

View File

@@ -47,22 +47,26 @@
#---- Button ----
Button.background=#ffffff
Button.startBackground=#fff
Button.endBackground=#bbb
Button.focusedBackground=#00ffff
Button.hoverBackground=#ffff00
Button.pressedBackground=#FFC800
Button.borderColor=#0000ff
Button.startBorderColor=#00f
Button.endBorderColor=#f00
Button.disabledBorderColor=#000088
Button.focusedBorderColor=#466d94
Button.hoverBorderColor=#ff0000
Button.default.background=#dddddd
Button.default.startBackground=#ddd
Button.default.endBackground=#888
Button.default.foreground=#880000
Button.default.focusedBackground=#00ffff
Button.default.hoverBackground=#ffff00
Button.default.pressedBackground=#FFC800
Button.default.borderColor=#ff0000
Button.default.startBorderColor=#f00
Button.default.endBorderColor=#00f
Button.default.hoverBorderColor=#ff0000
Button.default.focusedBorderColor=#537699
Button.default.focusColor=#ff0000

View File

@@ -69,3 +69,8 @@ TaskPane.titleOver=#0000aa
TaskPane.specialTitleBackground=#00ffff
TaskPane.specialTitleForeground=#444444
TaskPane.specialTitleOver=#dd0000
#---- TitledPanel ----
JXTitledPanel.borderColor=@@Button.startBorderColor