void (@NotNull TabInfo tabInfo, @NotNull TextAttributes attributes) { tabInfo.setDefaultForeground(attributes.getForegroundColor()); tabInfo.setTabColor(tabInfo == getSelectedInfo() ? attributes.getBackgroundColor() : null); }