mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-16 00:37:11 -06:00
- Button:
- In "Flat Light" theme, changed styles of focused and default buttons to
avoid confusion with all other themes. Focused buttons now have a white
background (was light blue) and a slightly wider border. The default button
now has a light blue background (was white) and a thin border. In all other
themes the default button also has colored background.
- In "Flat Dark" theme, use slightly wider border for focused buttons.
- CheckBox and RadioButton: In "Flat Dark" theme, use blueish background for
focused components.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
- Button.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatButtonBorder [UI]
|
||||
+ Button.border [lazy] 3,3,3,3 false com.formdev.flatlaf.ui.FlatButtonBorder [UI]
|
||||
|
||||
- Button.default.background #ffffff javax.swing.plaf.ColorUIResource [UI]
|
||||
- Button.default.background #e3f1fa javax.swing.plaf.ColorUIResource [UI]
|
||||
+ Button.default.background #4d8ac9 javax.swing.plaf.ColorUIResource [UI]
|
||||
|
||||
+ Button.default.boldText true
|
||||
@@ -18,27 +18,23 @@
|
||||
- Button.default.borderColor #4f9ee3 javax.swing.plaf.ColorUIResource [UI]
|
||||
+ Button.default.borderColor #3d75b2 javax.swing.plaf.ColorUIResource [UI]
|
||||
|
||||
- Button.default.borderWidth 2
|
||||
+ Button.default.borderWidth 1
|
||||
|
||||
- Button.default.focusedBackground #e3f1fa javax.swing.plaf.ColorUIResource [UI]
|
||||
|
||||
- Button.default.focusedBorderColor #87afda javax.swing.plaf.ColorUIResource [UI]
|
||||
+ Button.default.focusedBorderColor #a9c9f5 javax.swing.plaf.ColorUIResource [UI]
|
||||
|
||||
- Button.default.foreground #000000 javax.swing.plaf.ColorUIResource [UI]
|
||||
+ Button.default.foreground #ffffff javax.swing.plaf.ColorUIResource [UI]
|
||||
|
||||
- Button.default.hoverBackground #f7f7f7 com.formdev.flatlaf.util.DerivedColor [UI] darken(3% autoInverse)
|
||||
- Button.default.hoverBackground #d6ebf8 com.formdev.flatlaf.util.DerivedColor [UI] darken(3% autoInverse)
|
||||
+ Button.default.hoverBackground #4182c5 com.formdev.flatlaf.util.DerivedColor [UI] darken(3% autoInverse)
|
||||
|
||||
- Button.default.hoverBorderColor #87afda javax.swing.plaf.ColorUIResource [UI]
|
||||
+ Button.default.hoverBorderColor #a9c9f5 javax.swing.plaf.ColorUIResource [UI]
|
||||
|
||||
- Button.default.pressedBackground #e6e6e6 com.formdev.flatlaf.util.DerivedColor [UI] darken(10% autoInverse)
|
||||
- Button.default.pressedBackground #b8dbf2 com.formdev.flatlaf.util.DerivedColor [UI] darken(10% autoInverse)
|
||||
+ Button.default.pressedBackground #3571ae com.formdev.flatlaf.util.DerivedColor [UI] darken(10% autoInverse)
|
||||
|
||||
- Button.focusedBackground #e3f1fa javax.swing.plaf.ColorUIResource [UI]
|
||||
- Button.innerFocusWidth 1
|
||||
+ Button.innerFocusWidth 0
|
||||
|
||||
- CheckBox.icon.focusedBackground #e3f1fa javax.swing.plaf.ColorUIResource [UI]
|
||||
|
||||
@@ -64,11 +60,12 @@
|
||||
- FormattedTextField.border [lazy] 1,1,1,1 false com.formdev.flatlaf.ui.FlatTextBorder [UI]
|
||||
+ FormattedTextField.border [lazy] 3,3,3,3 false com.formdev.flatlaf.ui.FlatTextBorder [UI]
|
||||
|
||||
- HelpButton.focusedBackground #e3f1fa javax.swing.plaf.ColorUIResource [UI]
|
||||
|
||||
- HelpButton.icon [lazy] 22,22 com.formdev.flatlaf.icons.FlatHelpButtonIcon [UI]
|
||||
+ HelpButton.icon [lazy] 26,26 com.formdev.flatlaf.icons.FlatHelpButtonIcon [UI]
|
||||
|
||||
- HelpButton.innerFocusWidth 1
|
||||
+ HelpButton.innerFocusWidth 0
|
||||
|
||||
- JXDatePicker.border [lazy] 1,1,1,1 false com.formdev.flatlaf.swingx.ui.FlatDatePickerBorder [UI]
|
||||
+ JXDatePicker.border [lazy] 3,3,3,3 false com.formdev.flatlaf.swingx.ui.FlatDatePickerBorder [UI]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user