void (@NotNull Component actionComponent) { if (ActionPlaces.EDITOR_TOOLBAR.equals(myPlace)) { // tweak font & color for editor toolbar to match editor tabs style actionComponent.setFont(RelativeFont.NORMAL.fromResource("Toolbar.Component.fontSizeOffset", -2) .derive(StartupUiUtil.getLabelFont())); actionComponent.setForeground(ColorUtil.dimmer(JBColor.BLACK)); } }