mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-13 23:37:13 -06:00
MenuItems: accelerator colors and font
This commit is contained in:
@@ -140,6 +140,7 @@ public abstract class FlatLaf
|
|||||||
if( key instanceof String && ((String)key).endsWith( ".font" ) )
|
if( key instanceof String && ((String)key).endsWith( ".font" ) )
|
||||||
defaults.put( key, uiFont );
|
defaults.put( key, uiFont );
|
||||||
}
|
}
|
||||||
|
defaults.put( "MenuItem.acceleratorFont", uiFont );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
@background=3c3f41
|
@background=3c3f41
|
||||||
@foreground=bbbbbb
|
@foreground=bbbbbb
|
||||||
@selectionBackground=4B6EAF
|
@selectionBackground=4B6EAF
|
||||||
|
@selectionForeground=@foreground
|
||||||
@disabledText=777777
|
@disabledText=777777
|
||||||
@textComponentBackground=45494A
|
@textComponentBackground=45494A
|
||||||
@icon=adadad
|
@icon=adadad
|
||||||
@@ -38,10 +39,12 @@
|
|||||||
*.inactiveBackground=@background
|
*.inactiveBackground=@background
|
||||||
*.inactiveForeground=@foreground
|
*.inactiveForeground=@foreground
|
||||||
*.selectionBackground=@selectionBackground
|
*.selectionBackground=@selectionBackground
|
||||||
*.selectionForeground=@foreground
|
*.selectionForeground=@selectionForeground
|
||||||
*.disabledBackground=@background
|
*.disabledBackground=@background
|
||||||
*.disabledForeground=@disabledText
|
*.disabledForeground=@disabledText
|
||||||
*.disabledText=@disabledText
|
*.disabledText=@disabledText
|
||||||
|
*.acceleratorForeground=bbbbbb
|
||||||
|
*.acceleratorSelectionForeground=@selectionForeground
|
||||||
|
|
||||||
|
|
||||||
#---- system ----
|
#---- system ----
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
@background=f2f2f2
|
@background=f2f2f2
|
||||||
@foreground=000000
|
@foreground=000000
|
||||||
@selectionBackground=4A6EB7
|
@selectionBackground=4A6EB7
|
||||||
|
@selectionForeground=ffffff
|
||||||
@disabledText=999999
|
@disabledText=999999
|
||||||
@textComponentBackground=ffffff
|
@textComponentBackground=ffffff
|
||||||
@icon=afafaf
|
@icon=afafaf
|
||||||
@@ -38,10 +39,12 @@
|
|||||||
*.inactiveBackground=@background
|
*.inactiveBackground=@background
|
||||||
*.inactiveForeground=777777
|
*.inactiveForeground=777777
|
||||||
*.selectionBackground=@selectionBackground
|
*.selectionBackground=@selectionBackground
|
||||||
*.selectionForeground=ffffff
|
*.selectionForeground=@selectionForeground
|
||||||
*.disabledBackground=@background
|
*.disabledBackground=@background
|
||||||
*.disabledForeground=@disabledText
|
*.disabledForeground=@disabledText
|
||||||
*.disabledText=@disabledText
|
*.disabledText=@disabledText
|
||||||
|
*.acceleratorForeground=505050
|
||||||
|
*.acceleratorSelectionForeground=@selectionForeground
|
||||||
|
|
||||||
|
|
||||||
#---- system ----
|
#---- system ----
|
||||||
|
|||||||
@@ -36,6 +36,8 @@
|
|||||||
*.disabledBackground=e0e0e0
|
*.disabledBackground=e0e0e0
|
||||||
*.disabledForeground=000088
|
*.disabledForeground=000088
|
||||||
*.disabledText=000088
|
*.disabledText=000088
|
||||||
|
*.acceleratorForeground=ff8888
|
||||||
|
*.acceleratorSelectionForeground=ffffff
|
||||||
|
|
||||||
|
|
||||||
#---- Button ----
|
#---- Button ----
|
||||||
|
|||||||
Reference in New Issue
Block a user