mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-13 23:37:13 -06:00
UI defaults: added some missing colors an set unused colors to useful values
This commit is contained in:
@@ -90,6 +90,38 @@ info=$ToolTip.background
|
||||
infoText=@foreground
|
||||
|
||||
|
||||
#---- unused colors ----
|
||||
|
||||
# Colors that are defined in BasicLookAndFeel but are not used in FlatLaf.
|
||||
# Keep them for compatibility (if used in 3rd party app) and give them useful values.
|
||||
|
||||
*.shadow=$controlShadow
|
||||
*.darkShadow=$controlDkShadow
|
||||
*.light=$controlHighlight
|
||||
*.highlight=$controlLtHighlight
|
||||
|
||||
ComboBox.buttonShadow=$controlShadow
|
||||
ComboBox.buttonDarkShadow=$controlDkShadow
|
||||
ComboBox.buttonHighlight=$controlLtHighlight
|
||||
|
||||
InternalFrame.borderColor=$control
|
||||
InternalFrame.borderShadow=$controlShadow
|
||||
InternalFrame.borderDarkShadow=$controlDkShadow
|
||||
InternalFrame.borderHighlight=$controlLtHighlight
|
||||
InternalFrame.borderLight=$controlHighlight
|
||||
|
||||
Label.disabledShadow=$controlShadow
|
||||
|
||||
ScrollBar.trackHighlight=$controlDkShadow
|
||||
ScrollBar.thumbHighlight=$controlLtHighlight
|
||||
ScrollBar.thumbDarkShadow=$controlDkShadow
|
||||
ScrollBar.thumbShadow=$controlShadow
|
||||
|
||||
Slider.focus=$controlDkShadow
|
||||
|
||||
TabbedPane.focus=$controlText
|
||||
|
||||
|
||||
#---- Button ----
|
||||
|
||||
Button.border=com.formdev.flatlaf.ui.FlatButtonBorder
|
||||
@@ -136,6 +168,7 @@ CheckBoxMenuItem.background=@menuBackground
|
||||
|
||||
ColorChooser.swatchesSwatchSize=16,16
|
||||
ColorChooser.swatchesRecentSwatchSize=16,16
|
||||
ColorChooser.swatchesDefaultRecentColor=$control
|
||||
|
||||
|
||||
#---- ComboBox ----
|
||||
@@ -221,6 +254,7 @@ InternalFrame.closeIcon=com.formdev.flatlaf.icons.FlatInternalFrameCloseIcon
|
||||
InternalFrame.iconifyIcon=com.formdev.flatlaf.icons.FlatInternalFrameIconifyIcon
|
||||
InternalFrame.maximizeIcon=com.formdev.flatlaf.icons.FlatInternalFrameMaximizeIcon
|
||||
InternalFrame.minimizeIcon=com.formdev.flatlaf.icons.FlatInternalFrameMinimizeIcon
|
||||
InternalFrame.windowBindings=null
|
||||
|
||||
|
||||
#---- InternalFrameTitlePane ----
|
||||
@@ -415,6 +449,7 @@ TabbedPane.selectedTabPadInsets=0,0,0,0
|
||||
TabbedPane.tabRunOverlay=0
|
||||
TabbedPane.tabsOverlapBorder=true
|
||||
TabbedPane.shadow=@background
|
||||
TabbedPane.contentBorderInsets=null
|
||||
|
||||
|
||||
#---- Table ----
|
||||
@@ -432,6 +467,8 @@ Table.cellFocusColor=@cellFocusColor
|
||||
Table.cellNoFocusBorder=com.formdev.flatlaf.ui.FlatTableCellBorder$Default
|
||||
Table.focusCellHighlightBorder=com.formdev.flatlaf.ui.FlatTableCellBorder$Focused
|
||||
Table.focusSelectedCellHighlightBorder=com.formdev.flatlaf.ui.FlatTableCellBorder$Selected
|
||||
Table.focusCellBackground=@textComponentBackground
|
||||
Table.focusCellForeground=@foreground
|
||||
Table.selectionInactiveBackground=@selectionInactiveBackground
|
||||
Table.selectionInactiveForeground=@selectionInactiveForeground
|
||||
Table.dropCellBackground=@dropCellBackground
|
||||
@@ -444,6 +481,7 @@ Table.dropLineShortColor=@dropLineShortColor
|
||||
|
||||
TableHeader.height=25
|
||||
TableHeader.cellBorder=2,3,2,3
|
||||
TableHeader.focusCellBackground=$TableHeader.background
|
||||
|
||||
|
||||
#---- TextArea ----
|
||||
@@ -510,7 +548,9 @@ ToolBar.borderMargins=2,2,2,2
|
||||
ToolBar.isRollover=true
|
||||
ToolBar.gripColor=@icon
|
||||
ToolBar.dockingBackground=@background
|
||||
ToolBar.dockingForeground=@foreground
|
||||
ToolBar.floatingBackground=@background
|
||||
ToolBar.floatingForeground=@disabledText
|
||||
|
||||
ToolBar.separatorSize=null
|
||||
ToolBar.separatorWidth=7
|
||||
|
||||
Reference in New Issue
Block a user