mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-08 15:00:54 +03:00
UI defaults: moved "globals" from FlatLightLaf.properties and FlatDarkLaf.properties to FlatLaf.properties
This commit is contained in:
@@ -32,6 +32,8 @@
|
|||||||
@menuHoverBackground=lighten(@menuBackground,10%,derived)
|
@menuHoverBackground=lighten(@menuBackground,10%,derived)
|
||||||
@menuCheckBackground=lighten(@menuBackground,10%,derived)
|
@menuCheckBackground=lighten(@menuBackground,10%,derived)
|
||||||
@menuCheckHoverBackground=lighten(@menuBackground,20%,derived)
|
@menuCheckHoverBackground=lighten(@menuBackground,20%,derived)
|
||||||
|
@menuAcceleratorForeground=darken(@foreground,15%)
|
||||||
|
@menuAcceleratorSelectionForeground=@selectionForeground
|
||||||
@cellFocusColor=#000
|
@cellFocusColor=#000
|
||||||
@icon=#adadad
|
@icon=#adadad
|
||||||
|
|
||||||
@@ -42,22 +44,6 @@
|
|||||||
@dropLineShortColor=lighten(List.selectionBackground,30%,lazy)
|
@dropLineShortColor=lighten(List.selectionBackground,30%,lazy)
|
||||||
|
|
||||||
|
|
||||||
#---- globals ----
|
|
||||||
|
|
||||||
*.background=@background
|
|
||||||
*.foreground=@foreground
|
|
||||||
*.caretForeground=@foreground
|
|
||||||
*.inactiveBackground=@background
|
|
||||||
*.inactiveForeground=@disabledText
|
|
||||||
*.selectionBackground=@selectionBackground
|
|
||||||
*.selectionForeground=@selectionForeground
|
|
||||||
*.disabledBackground=@background
|
|
||||||
*.disabledForeground=@disabledText
|
|
||||||
*.disabledText=@disabledText
|
|
||||||
*.acceleratorForeground=darken(@foreground,15%)
|
|
||||||
*.acceleratorSelectionForeground=@selectionForeground
|
|
||||||
|
|
||||||
|
|
||||||
#---- system colors ----
|
#---- system colors ----
|
||||||
|
|
||||||
activeCaption=#434E60
|
activeCaption=#434E60
|
||||||
|
|||||||
@@ -67,6 +67,22 @@ ViewportUI=com.formdev.flatlaf.ui.FlatViewportUI
|
|||||||
@menuItemMargin=3,6,3,6
|
@menuItemMargin=3,6,3,6
|
||||||
|
|
||||||
|
|
||||||
|
#---- globals ----
|
||||||
|
|
||||||
|
*.background=@background
|
||||||
|
*.foreground=@foreground
|
||||||
|
*.caretForeground=@foreground
|
||||||
|
*.inactiveBackground=@background
|
||||||
|
*.inactiveForeground=@disabledText
|
||||||
|
*.selectionBackground=@selectionBackground
|
||||||
|
*.selectionForeground=@selectionForeground
|
||||||
|
*.disabledBackground=@background
|
||||||
|
*.disabledForeground=@disabledText
|
||||||
|
*.disabledText=@disabledText
|
||||||
|
*.acceleratorForeground=@menuAcceleratorForeground
|
||||||
|
*.acceleratorSelectionForeground=@menuAcceleratorSelectionForeground
|
||||||
|
|
||||||
|
|
||||||
#---- system colors ----
|
#---- system colors ----
|
||||||
|
|
||||||
desktop=@textComponentBackground
|
desktop=@textComponentBackground
|
||||||
|
|||||||
@@ -32,6 +32,8 @@
|
|||||||
@menuHoverBackground=darken(@menuBackground,10%,derived)
|
@menuHoverBackground=darken(@menuBackground,10%,derived)
|
||||||
@menuCheckBackground=darken(@menuBackground,10%,derived)
|
@menuCheckBackground=darken(@menuBackground,10%,derived)
|
||||||
@menuCheckHoverBackground=darken(@menuBackground,20%,derived)
|
@menuCheckHoverBackground=darken(@menuBackground,20%,derived)
|
||||||
|
@menuAcceleratorForeground=lighten(@foreground,30%)
|
||||||
|
@menuAcceleratorSelectionForeground=@selectionForeground
|
||||||
@cellFocusColor=#000
|
@cellFocusColor=#000
|
||||||
@icon=#afafaf
|
@icon=#afafaf
|
||||||
|
|
||||||
@@ -42,22 +44,6 @@
|
|||||||
@dropLineShortColor=darken(List.selectionBackground,20%,lazy)
|
@dropLineShortColor=darken(List.selectionBackground,20%,lazy)
|
||||||
|
|
||||||
|
|
||||||
#---- globals ----
|
|
||||||
|
|
||||||
*.background=@background
|
|
||||||
*.foreground=@foreground
|
|
||||||
*.caretForeground=@foreground
|
|
||||||
*.inactiveBackground=@background
|
|
||||||
*.inactiveForeground=@disabledText
|
|
||||||
*.selectionBackground=@selectionBackground
|
|
||||||
*.selectionForeground=@selectionForeground
|
|
||||||
*.disabledBackground=@background
|
|
||||||
*.disabledForeground=@disabledText
|
|
||||||
*.disabledText=@disabledText
|
|
||||||
*.acceleratorForeground=lighten(@foreground,30%)
|
|
||||||
*.acceleratorSelectionForeground=@selectionForeground
|
|
||||||
|
|
||||||
|
|
||||||
#---- system colors ----
|
#---- system colors ----
|
||||||
|
|
||||||
activeCaption=#99b4d1
|
activeCaption=#99b4d1
|
||||||
|
|||||||
@@ -28,6 +28,8 @@
|
|||||||
@menuHoverBackground=darken(@menuBackground,10%)
|
@menuHoverBackground=darken(@menuBackground,10%)
|
||||||
@menuCheckBackground=darken(@menuBackground,10%)
|
@menuCheckBackground=darken(@menuBackground,10%)
|
||||||
@menuCheckHoverBackground=darken(@menuBackground,20%)
|
@menuCheckHoverBackground=darken(@menuBackground,20%)
|
||||||
|
@menuAcceleratorForeground=#f88
|
||||||
|
@menuAcceleratorSelectionForeground=#fff
|
||||||
@cellFocusColor=#f00
|
@cellFocusColor=#f00
|
||||||
@icon=#afafaf
|
@icon=#afafaf
|
||||||
|
|
||||||
@@ -39,20 +41,10 @@
|
|||||||
|
|
||||||
#---- globals ----
|
#---- globals ----
|
||||||
|
|
||||||
*.background=@background
|
|
||||||
*.foreground=@foreground
|
|
||||||
*.textBackground=#cfc
|
|
||||||
*.textForeground=#f00
|
|
||||||
*.caretForeground=#00f
|
*.caretForeground=#00f
|
||||||
*.inactiveBackground=#f0f0f0
|
*.inactiveBackground=#f0f0f0
|
||||||
*.inactiveForeground=#008
|
*.inactiveForeground=#008
|
||||||
*.selectionBackground=@selectionBackground
|
|
||||||
*.selectionForeground=@selectionForeground
|
|
||||||
*.disabledBackground=#e0e0e0
|
*.disabledBackground=#e0e0e0
|
||||||
*.disabledForeground=@disabledText
|
|
||||||
*.disabledText=@disabledText
|
|
||||||
*.acceleratorForeground=#f88
|
|
||||||
*.acceleratorSelectionForeground=#fff
|
|
||||||
|
|
||||||
|
|
||||||
#---- system colors ----
|
#---- system colors ----
|
||||||
|
|||||||
Reference in New Issue
Block a user