@Override
      protected @NotNull ActionButtonWithText createTextButton(@NotNull AnAction action,
                                                               @NotNull String place,
                                                               @NotNull Presentation presentation,
                                                               Supplier<? extends @NotNull Dimension> minimumSize) {
        if (RedesignedInspectionsManager.isAvailable()) return super.createTextButton(action, place, presentation, minimumSize);

        ActionButtonWithText button = super.createTextButton(action, place, presentation, minimumSize);
        JBColor color = JBColor.lazy(() -> {
          return ObjectUtils.notNull(editor.getColorsScheme().getColor(ICON_TEXT_COLOR), ICON_TEXT_COLOR.getDefaultColor());
        });
        button.setForeground(color);
        return button;
      }
@Override
      protected @NotNull ActionButtonWithText createTextButton(@NotNull AnAction action,
                                                               @NotNull String place,
                                                               @NotNull Presentation presentation,
                                                               Supplier<? extends @NotNull Dimension> minimumSize)