MenuItems: accelerator colors and font

This commit is contained in:
Karl Tauber
2019-08-31 11:30:40 +02:00
parent 84aaa4e6b5
commit c5940f607b
4 changed files with 11 additions and 2 deletions

View File

@@ -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 );
}
/**

View File

@@ -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 ----

View File

@@ -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 ----

View File

@@ -36,6 +36,8 @@
*.disabledBackground=e0e0e0
*.disabledForeground=000088
*.disabledText=000088
*.acceleratorForeground=ff8888
*.acceleratorSelectionForeground=ffffff
#---- Button ----