mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27: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" ) )
|
||||
defaults.put( key, uiFont );
|
||||
}
|
||||
defaults.put( "MenuItem.acceleratorFont", uiFont );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
@background=3c3f41
|
||||
@foreground=bbbbbb
|
||||
@selectionBackground=4B6EAF
|
||||
@selectionForeground=@foreground
|
||||
@disabledText=777777
|
||||
@textComponentBackground=45494A
|
||||
@icon=adadad
|
||||
@@ -38,10 +39,12 @@
|
||||
*.inactiveBackground=@background
|
||||
*.inactiveForeground=@foreground
|
||||
*.selectionBackground=@selectionBackground
|
||||
*.selectionForeground=@foreground
|
||||
*.selectionForeground=@selectionForeground
|
||||
*.disabledBackground=@background
|
||||
*.disabledForeground=@disabledText
|
||||
*.disabledText=@disabledText
|
||||
*.acceleratorForeground=bbbbbb
|
||||
*.acceleratorSelectionForeground=@selectionForeground
|
||||
|
||||
|
||||
#---- system ----
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
@background=f2f2f2
|
||||
@foreground=000000
|
||||
@selectionBackground=4A6EB7
|
||||
@selectionForeground=ffffff
|
||||
@disabledText=999999
|
||||
@textComponentBackground=ffffff
|
||||
@icon=afafaf
|
||||
@@ -38,10 +39,12 @@
|
||||
*.inactiveBackground=@background
|
||||
*.inactiveForeground=777777
|
||||
*.selectionBackground=@selectionBackground
|
||||
*.selectionForeground=ffffff
|
||||
*.selectionForeground=@selectionForeground
|
||||
*.disabledBackground=@background
|
||||
*.disabledForeground=@disabledText
|
||||
*.disabledText=@disabledText
|
||||
*.acceleratorForeground=505050
|
||||
*.acceleratorSelectionForeground=@selectionForeground
|
||||
|
||||
|
||||
#---- system ----
|
||||
|
||||
@@ -36,6 +36,8 @@
|
||||
*.disabledBackground=e0e0e0
|
||||
*.disabledForeground=000088
|
||||
*.disabledText=000088
|
||||
*.acceleratorForeground=ff8888
|
||||
*.acceleratorSelectionForeground=ffffff
|
||||
|
||||
|
||||
#---- Button ----
|
||||
|
||||
Reference in New Issue
Block a user