mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 22:47:13 -06:00
Theming improvements:
- renamed `@disabledText` to `@disabledForeground` - renamed `@textComponentBackground` to `@componentBackground` - renamed `@textComponentMargin` to `@componentMargin` - added `@disabledBackground` (Note: this are incompatible changes!)
This commit is contained in:
@@ -16,19 +16,29 @@
|
||||
|
||||
#---- variables ----
|
||||
|
||||
# general background and foreground (text color)
|
||||
@background = #cfc
|
||||
@foreground = #f00
|
||||
@disabledBackground = #e0e0e0
|
||||
@disabledForeground = #008
|
||||
|
||||
# component background
|
||||
@componentBackground = #fff
|
||||
@menuBackground = #fff
|
||||
|
||||
# selection
|
||||
@selectionBackground = #0a0
|
||||
@selectionForeground = #ff0
|
||||
@selectionInactiveBackground = #888
|
||||
@selectionInactiveForeground = #fff
|
||||
@disabledText = #008
|
||||
@textComponentBackground = #fff
|
||||
@menuBackground = #fff
|
||||
|
||||
# menu
|
||||
@menuHoverBackground = darken(@menuBackground,10%)
|
||||
@menuCheckBackground = #ccf
|
||||
@menuAcceleratorForeground = #f88
|
||||
@menuAcceleratorSelectionForeground = #fff
|
||||
|
||||
# misc
|
||||
@cellFocusColor = #f00
|
||||
@icon = #afafaf
|
||||
|
||||
@@ -51,7 +61,6 @@
|
||||
*.caretForeground = #00f
|
||||
*.inactiveBackground = #f0f0f0
|
||||
*.inactiveForeground = #008
|
||||
*.disabledBackground = #e0e0e0
|
||||
|
||||
|
||||
#---- system colors ----
|
||||
|
||||
@@ -37,7 +37,7 @@ Hyperlink.disabledText = #008
|
||||
|
||||
#---- MonthView ----
|
||||
|
||||
JXMonthView.background = @textComponentBackground
|
||||
JXMonthView.background = @componentBackground
|
||||
JXMonthView.monthStringBackground = #0f0
|
||||
JXMonthView.monthStringForeground = #00f
|
||||
JXMonthView.daysOfTheWeekForeground = #0f0
|
||||
|
||||
Reference in New Issue
Block a user