public static @NotNull EditorColorsScheme getColorSchemeForPrinting() {
    EditorColorsManager colorsManager = EditorColorsManager.getInstance();
    return colorsManager.isDarkEditor() ? colorsManager.getScheme(EditorColorsManager.getDefaultSchemeName())
                                        : colorsManager.getGlobalScheme();
  }
public static @NotNull EditorColorsScheme getColorSchemeForPrinting()