mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 22:47:13 -06:00
use short color format #RGB (instead of #RRGGBB) where possible
This commit is contained in:
@@ -16,19 +16,19 @@
|
||||
|
||||
#---- variables ----
|
||||
|
||||
@background=#ccffcc
|
||||
@foreground=#ff0000
|
||||
@selectionBackground=#00aa00
|
||||
@selectionForeground=#ffff00
|
||||
@selectionInactiveBackground=#888888
|
||||
@selectionInactiveForeground=#ffffff
|
||||
@disabledText=#000088
|
||||
@textComponentBackground=#ffffff
|
||||
@background=#cfc
|
||||
@foreground=#f00
|
||||
@selectionBackground=#0a0
|
||||
@selectionForeground=#ff0
|
||||
@selectionInactiveBackground=#888
|
||||
@selectionInactiveForeground=#fff
|
||||
@disabledText=#008
|
||||
@textComponentBackground=#fff
|
||||
@menuBackground=#fff
|
||||
@menuHoverBackground=darken(@menuBackground,10%)
|
||||
@menuCheckBackground=darken(@menuBackground,10%)
|
||||
@menuCheckHoverBackground=darken(@menuBackground,20%)
|
||||
@cellFocusColor=#ff0000
|
||||
@cellFocusColor=#f00
|
||||
@icon=#afafaf
|
||||
|
||||
@dropCellBackground=#f00
|
||||
@@ -41,18 +41,18 @@
|
||||
|
||||
*.background=@background
|
||||
*.foreground=@foreground
|
||||
*.textBackground=#ccffcc
|
||||
*.textForeground=#ff0000
|
||||
*.caretForeground=#0000ff
|
||||
*.textBackground=#cfc
|
||||
*.textForeground=#f00
|
||||
*.caretForeground=#00f
|
||||
*.inactiveBackground=#f0f0f0
|
||||
*.inactiveForeground=#000088
|
||||
*.inactiveForeground=#008
|
||||
*.selectionBackground=@selectionBackground
|
||||
*.selectionForeground=@selectionForeground
|
||||
*.disabledBackground=#e0e0e0
|
||||
*.disabledForeground=@disabledText
|
||||
*.disabledText=@disabledText
|
||||
*.acceleratorForeground=#ff8888
|
||||
*.acceleratorSelectionForeground=#ffffff
|
||||
*.acceleratorForeground=#f88
|
||||
*.acceleratorSelectionForeground=#fff
|
||||
|
||||
|
||||
#---- system colors ----
|
||||
@@ -69,40 +69,40 @@ controlDkShadow=#696969
|
||||
|
||||
Button.startBackground=#fff
|
||||
Button.endBackground=#bbb
|
||||
Button.focusedBackground=#00ffff
|
||||
Button.hoverBackground=#ffff00
|
||||
Button.focusedBackground=#0ff
|
||||
Button.hoverBackground=#ff0
|
||||
Button.pressedBackground=#FFC800
|
||||
|
||||
Button.startBorderColor=#00f
|
||||
Button.endBorderColor=#f00
|
||||
Button.disabledBorderColor=#000088
|
||||
Button.disabledBorderColor=#008
|
||||
Button.focusedBorderColor=#466d94
|
||||
Button.hoverBorderColor=#ff0000
|
||||
Button.hoverBorderColor=#f00
|
||||
|
||||
Button.default.startBackground=#ddd
|
||||
Button.default.endBackground=#888
|
||||
Button.default.foreground=#880000
|
||||
Button.default.focusedBackground=#00ffff
|
||||
Button.default.hoverBackground=#ffff00
|
||||
Button.default.foreground=#800
|
||||
Button.default.focusedBackground=#0ff
|
||||
Button.default.hoverBackground=#ff0
|
||||
Button.default.pressedBackground=#FFC800
|
||||
Button.default.startBorderColor=#f00
|
||||
Button.default.endBorderColor=#00f
|
||||
Button.default.hoverBorderColor=#ff0000
|
||||
Button.default.hoverBorderColor=#f00
|
||||
Button.default.focusedBorderColor=#537699
|
||||
Button.default.focusColor=#ff0000
|
||||
Button.default.focusColor=#f00
|
||||
|
||||
Button.toolbar.hoverBackground=#ffffff
|
||||
Button.toolbar.pressedBackground=#eeeeee
|
||||
Button.toolbar.hoverBackground=#fff
|
||||
Button.toolbar.pressedBackground=#eee
|
||||
|
||||
|
||||
#---- CheckBox ----
|
||||
|
||||
# enabled
|
||||
CheckBox.icon.borderColor=#878787
|
||||
CheckBox.icon.background=#FFFFFF
|
||||
CheckBox.icon.background=#fff
|
||||
CheckBox.icon.selectedBorderColor=#4982CC
|
||||
CheckBox.icon.selectedBackground=#4D89C9
|
||||
CheckBox.icon.checkmarkColor=#FFFFFF
|
||||
CheckBox.icon.checkmarkColor=#fff
|
||||
|
||||
# disabled
|
||||
CheckBox.icon.disabledBorderColor=#BDBDBD
|
||||
@@ -111,12 +111,12 @@ CheckBox.icon.disabledCheckmarkColor=#ABABAB
|
||||
|
||||
# focused
|
||||
CheckBox.icon.focusedBorderColor=#7B9FC7
|
||||
CheckBox.icon.focusedBackground=#00ffff
|
||||
CheckBox.icon.focusedBackground=#0ff
|
||||
CheckBox.icon.selectedFocusedBorderColor=#ACCFF7
|
||||
|
||||
# hover
|
||||
CheckBox.icon.hoverBorderColor=#ff0000
|
||||
CheckBox.icon.hoverBackground=#ffff00
|
||||
CheckBox.icon.hoverBorderColor=#f00
|
||||
CheckBox.icon.hoverBackground=#ff0
|
||||
|
||||
# pressed
|
||||
CheckBox.icon.pressedBackground=#FFC800
|
||||
@@ -124,18 +124,18 @@ CheckBox.icon.pressedBackground=#FFC800
|
||||
|
||||
#---- ComboBox ----
|
||||
|
||||
ComboBox.background=#ffffff
|
||||
ComboBox.background=#fff
|
||||
ComboBox.buttonBackground=#f0f0f0
|
||||
ComboBox.buttonEditableBackground=#cccccc
|
||||
ComboBox.buttonArrowColor=#666666
|
||||
ComboBox.buttonEditableBackground=#ccc
|
||||
ComboBox.buttonArrowColor=#666
|
||||
ComboBox.buttonDisabledArrowColor=#ABABAB
|
||||
ComboBox.buttonHoverArrowColor=#ff0000
|
||||
ComboBox.buttonHoverArrowColor=#f00
|
||||
|
||||
|
||||
#---- Component ----
|
||||
|
||||
Component.borderColor=#ff0000
|
||||
Component.disabledBorderColor=#000088
|
||||
Component.borderColor=#f00
|
||||
Component.disabledBorderColor=#008
|
||||
Component.focusedBorderColor=#466d94
|
||||
Component.focusColor=#97c3f3
|
||||
#Component.focusWidth=5
|
||||
@@ -155,7 +155,7 @@ DesktopIcon.background=darken($Desktop.background,20%)
|
||||
|
||||
#---- HelpButton ----
|
||||
|
||||
HelpButton.questionMarkColor=#0000ff
|
||||
HelpButton.questionMarkColor=#00f
|
||||
|
||||
|
||||
#---- InternalFrame ----
|
||||
@@ -178,16 +178,16 @@ InternalFrame.closePressedForeground=#fff
|
||||
|
||||
#---- Label ----
|
||||
|
||||
Label.foreground=#008800
|
||||
Label.disabledForeground=#000088
|
||||
Label.foreground=#080
|
||||
Label.disabledForeground=#008
|
||||
|
||||
|
||||
#---- List ----
|
||||
|
||||
List.background=#f0ffff
|
||||
List.cellNoFocusBorder=1,6,1,6
|
||||
List.focusSelectedCellHighlightBorder=1,6,1,6,#880000
|
||||
List.focusCellHighlightBorder=1,6,1,6,#880000
|
||||
List.focusSelectedCellHighlightBorder=1,6,1,6,#800
|
||||
List.focusCellHighlightBorder=1,6,1,6,#800
|
||||
|
||||
|
||||
#---- Menu ----
|
||||
@@ -198,7 +198,7 @@ Menu.icon.disabledArrowColor=#ABABAB
|
||||
|
||||
#---- MenuBar ----
|
||||
|
||||
MenuBar.borderColor=#4444ff
|
||||
MenuBar.borderColor=#44f
|
||||
MenuBar.hoverBackground=#fdd
|
||||
|
||||
|
||||
@@ -210,14 +210,14 @@ MenuItemCheckBox.icon.disabledCheckmarkColor=#ABABAB
|
||||
|
||||
#---- OptionPane ----
|
||||
|
||||
OptionPane.background=#ffdddd
|
||||
OptionPane.foreground=#ff0000
|
||||
OptionPane.background=#fdd
|
||||
OptionPane.foreground=#f00
|
||||
|
||||
OptionPane.icon.errorColor=#ff0000
|
||||
OptionPane.icon.informationColor=#00ff00
|
||||
OptionPane.icon.questionColor=#0000ff
|
||||
OptionPane.icon.warningColor=#ffcc00
|
||||
OptionPane.icon.foreground=#ffffff
|
||||
OptionPane.icon.errorColor=#f00
|
||||
OptionPane.icon.informationColor=#0f0
|
||||
OptionPane.icon.questionColor=#00f
|
||||
OptionPane.icon.warningColor=#fc0
|
||||
OptionPane.icon.foreground=#fff
|
||||
|
||||
|
||||
#---- Popup ----
|
||||
@@ -229,7 +229,7 @@ Popup.dropShadowInsets=-6,6,6,6
|
||||
|
||||
#---- PopupMenu ----
|
||||
|
||||
PopupMenu.borderColor=#0000ff
|
||||
PopupMenu.borderColor=#00f
|
||||
|
||||
|
||||
#---- PopupMenuSeparator ----
|
||||
@@ -241,24 +241,24 @@ PopupMenuSeparator.stripeIndent=1
|
||||
|
||||
#---- ProgressBar ----
|
||||
|
||||
ProgressBar.background=#88ff88
|
||||
ProgressBar.background=#8f8
|
||||
ProgressBar.foreground=#73737333
|
||||
ProgressBar.selectionForeground=#ff0000
|
||||
ProgressBar.selectionBackground=#000088
|
||||
ProgressBar.selectionForeground=#f00
|
||||
ProgressBar.selectionBackground=#008
|
||||
ProgressBar.cycleTime=10000
|
||||
|
||||
|
||||
#---- ScrollBar ----
|
||||
|
||||
ScrollBar.track=#88ff88
|
||||
ScrollBar.track=#8f8
|
||||
ScrollBar.thumb=#73737333
|
||||
ScrollBar.hoverTrackColor=#00ff00
|
||||
ScrollBar.hoverThumbColor=#ff0000
|
||||
ScrollBar.hoverTrackColor=#0f0
|
||||
ScrollBar.hoverThumbColor=#f00
|
||||
|
||||
|
||||
#---- Separator ----
|
||||
|
||||
Separator.foreground=#00bb00
|
||||
Separator.foreground=#0b0
|
||||
Separator.height=20
|
||||
Separator.stripeWidth=10
|
||||
Separator.stripeIndent=5
|
||||
@@ -266,54 +266,54 @@ Separator.stripeIndent=5
|
||||
|
||||
#---- Slider ----
|
||||
|
||||
Slider.trackColor=#00bb00
|
||||
Slider.thumbColor=#880000
|
||||
Slider.tickColor=#ff0000
|
||||
Slider.trackColor=#0b0
|
||||
Slider.thumbColor=#800
|
||||
Slider.tickColor=#f00
|
||||
Slider.focusedColor=$Component.focusColor
|
||||
Slider.hoverColor=#0000ff
|
||||
Slider.disabledForeground=#000088
|
||||
Slider.hoverColor=#00f
|
||||
Slider.disabledForeground=#008
|
||||
|
||||
|
||||
#---- SplitPane ----
|
||||
|
||||
SplitPaneDivider.draggingColor=#880000
|
||||
SplitPaneDivider.oneTouchArrowColor=#00ff00
|
||||
SplitPaneDivider.oneTouchHoverArrowColor=#ff0000
|
||||
SplitPaneDivider.draggingColor=#800
|
||||
SplitPaneDivider.oneTouchArrowColor=#0f0
|
||||
SplitPaneDivider.oneTouchHoverArrowColor=#f00
|
||||
|
||||
|
||||
#---- TabbedPane ----
|
||||
|
||||
TabbedPane.disabledForeground=#777777
|
||||
TabbedPane.disabledForeground=#777
|
||||
TabbedPane.selectedBackground=#0f0
|
||||
TabbedPane.selectedForeground=#00f
|
||||
TabbedPane.underlineColor=#4A88C7
|
||||
TabbedPane.disabledUnderlineColor=#7a7a7a
|
||||
TabbedPane.hoverColor=#eeeeee
|
||||
TabbedPane.focusColor=#dddddd
|
||||
TabbedPane.hoverColor=#eee
|
||||
TabbedPane.focusColor=#ddd
|
||||
TabbedPane.tabSeparatorColor=#00f
|
||||
TabbedPane.contentAreaColor=#bbbbbb
|
||||
TabbedPane.contentAreaColor=#bbb
|
||||
|
||||
|
||||
#---- Table ----
|
||||
|
||||
Table.rowHeight=25
|
||||
Table.background=#fffff0
|
||||
Table.sortIconColor=#ffff00
|
||||
Table.gridColor=#00ffff
|
||||
Table.sortIconColor=#ff0
|
||||
Table.gridColor=#0ff
|
||||
|
||||
|
||||
#---- TableHeader ----
|
||||
|
||||
TableHeader.background=#4444ff
|
||||
TableHeader.foreground=#ffffff
|
||||
TableHeader.separatorColor=#00ff00
|
||||
TableHeader.bottomSeparatorColor=#00ff00
|
||||
TableHeader.background=#44f
|
||||
TableHeader.foreground=#fff
|
||||
TableHeader.separatorColor=#0f0
|
||||
TableHeader.bottomSeparatorColor=#0f0
|
||||
|
||||
|
||||
#---- TitledBorder ----
|
||||
|
||||
TitledBorder.titleColor=#ff00ff
|
||||
TitledBorder.border=1,1,1,1,#ff00ff
|
||||
TitledBorder.titleColor=#f0f
|
||||
TitledBorder.border=1,1,1,1,#f0f
|
||||
|
||||
|
||||
#---- TitlePane ----
|
||||
@@ -326,27 +326,27 @@ TitlePane.inactiveForeground=#fff
|
||||
|
||||
#---- ToggleButton ----
|
||||
|
||||
ToggleButton.background=#ddddff
|
||||
ToggleButton.selectedBackground=#44ff44
|
||||
ToggleButton.selectedForeground=#000000
|
||||
ToggleButton.disabledSelectedBackground=#44dd44
|
||||
ToggleButton.background=#ddf
|
||||
ToggleButton.selectedBackground=#4f4
|
||||
ToggleButton.selectedForeground=#000
|
||||
ToggleButton.disabledSelectedBackground=#4d4
|
||||
|
||||
ToggleButton.focusedBackground=#00ffff
|
||||
ToggleButton.hoverBackground=#ffff00
|
||||
ToggleButton.focusedBackground=#0ff
|
||||
ToggleButton.hoverBackground=#ff0
|
||||
ToggleButton.pressedBackground=#FFC800
|
||||
|
||||
ToggleButton.toolbar.selectedBackground=#dddddd
|
||||
ToggleButton.toolbar.selectedBackground=#ddd
|
||||
|
||||
|
||||
#---- ToolTip ----
|
||||
|
||||
ToolTip.background=#eeeeff
|
||||
ToolTip.background=#eef
|
||||
|
||||
|
||||
#---- Tree ----
|
||||
|
||||
Tree.background=#fff0ff
|
||||
Tree.paintLines=true
|
||||
Tree.hash=#ff0000
|
||||
Tree.hash=#f00
|
||||
Tree.editorBorder=1,1,1,1,#f00
|
||||
Tree.editorBorderSelectionColor=#00f
|
||||
|
||||
@@ -16,59 +16,59 @@
|
||||
|
||||
#---- BusyLabel ----
|
||||
|
||||
JXBusyLabel.baseColor=#00ff00
|
||||
JXBusyLabel.highlightColor=#ff0000
|
||||
JXBusyLabel.baseColor=#0f0
|
||||
JXBusyLabel.highlightColor=#f00
|
||||
|
||||
|
||||
#---- Header ----
|
||||
|
||||
JXHeader.background=#ff8888
|
||||
JXHeader.startBackground=#ffcccc
|
||||
JXHeader.titleForeground=#0000ff
|
||||
JXHeader.descriptionForeground=#ff0000
|
||||
JXHeader.background=#f88
|
||||
JXHeader.startBackground=#fcc
|
||||
JXHeader.titleForeground=#00f
|
||||
JXHeader.descriptionForeground=#f00
|
||||
|
||||
|
||||
#---- Hyperlink ----
|
||||
|
||||
Hyperlink.linkColor=#ff0000
|
||||
Hyperlink.visitedColor=#0000ff
|
||||
Hyperlink.disabledText=#000088
|
||||
Hyperlink.linkColor=#f00
|
||||
Hyperlink.visitedColor=#00f
|
||||
Hyperlink.disabledText=#008
|
||||
|
||||
|
||||
#---- MonthView ----
|
||||
|
||||
JXMonthView.background=@textComponentBackground
|
||||
JXMonthView.monthStringBackground=#00ff00
|
||||
JXMonthView.monthStringForeground=#0000ff
|
||||
JXMonthView.daysOfTheWeekForeground=#00ff00
|
||||
JXMonthView.weekOfTheYearForeground=#0000ff
|
||||
JXMonthView.unselectableDayForeground=#0000ff
|
||||
JXMonthView.selectedBackground=#aaffaa
|
||||
JXMonthView.flaggedDayForeground=#00ffff
|
||||
JXMonthView.monthStringBackground=#0f0
|
||||
JXMonthView.monthStringForeground=#00f
|
||||
JXMonthView.daysOfTheWeekForeground=#0f0
|
||||
JXMonthView.weekOfTheYearForeground=#00f
|
||||
JXMonthView.unselectableDayForeground=#00f
|
||||
JXMonthView.selectedBackground=#afa
|
||||
JXMonthView.flaggedDayForeground=#0ff
|
||||
JXMonthView.leadingDayForeground=#c0c0c0
|
||||
JXMonthView.trailingDayForeground=#c0c0c0
|
||||
JXMonthView.arrowColor=#0000ff
|
||||
JXMonthView.arrowColor=#00f
|
||||
JXMonthView.disabledArrowColor=#ABABAB
|
||||
|
||||
|
||||
#---- TaskPaneContainer ----
|
||||
|
||||
TaskPaneContainer.background=#ff8888
|
||||
TaskPaneContainer.background=#f88
|
||||
TaskPaneContainer.border=10,10,10,10
|
||||
|
||||
|
||||
#---- TaskPane ----
|
||||
|
||||
TaskPane.background=#00ff00
|
||||
TaskPane.borderColor=#0000ff
|
||||
TaskPane.background=#0f0
|
||||
TaskPane.borderColor=#00f
|
||||
TaskPane.contentInsets=10,10,10,10
|
||||
|
||||
TaskPane.titleBackgroundGradientStart=#ffff00
|
||||
TaskPane.titleForeground=#ff00ff
|
||||
TaskPane.titleOver=#0000aa
|
||||
TaskPane.specialTitleBackground=#00ffff
|
||||
TaskPane.specialTitleForeground=#444444
|
||||
TaskPane.specialTitleOver=#dd0000
|
||||
TaskPane.titleBackgroundGradientStart=#ff0
|
||||
TaskPane.titleForeground=#f0f
|
||||
TaskPane.titleOver=#00a
|
||||
TaskPane.specialTitleBackground=#0ff
|
||||
TaskPane.specialTitleForeground=#444
|
||||
TaskPane.specialTitleOver=#d00
|
||||
|
||||
|
||||
#---- TitledPanel ----
|
||||
|
||||
Reference in New Issue
Block a user