Color (@Nullable EditorColorsScheme scheme) { if (scheme == null) scheme = EditorColorsManager.getInstance().getGlobalScheme(); Color color = scheme.getColor(FOREGROUND); if (color != null) return color; color = scheme.getColor(BACKGROUND); if (color != null) return color; return Gray._128; }