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" ) ) if( key instanceof String && ((String)key).endsWith( ".font" ) )
defaults.put( key, uiFont ); defaults.put( key, uiFont );
} }
defaults.put( "MenuItem.acceleratorFont", uiFont );
} }
/** /**

View File

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

View File

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

View File

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