IDEA-93573 Darcula - event notifications black number
[idea/community.git] / platform / platform-impl / src / com / intellij / notification / impl / IdeNotificationArea.java
index afbb43de802971abbbf7ae0e4edcc337bc05ac9b..6034b0185afb10aa3d6f53f3dbe9e006cdbf2d1f 100644 (file)
@@ -34,6 +34,7 @@ import com.intellij.openapi.wm.ToolWindow;
 import com.intellij.ui.ClickListener;
 import com.intellij.ui.LayeredIcon;
 import com.intellij.util.Alarm;
+import com.intellij.util.ui.UIUtil;
 import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
 
@@ -212,7 +213,7 @@ public class IdeNotificationArea extends JLabel implements CustomStatusBarWidget
       g.setFont(calcFont());
       y += getIconHeight() - g.getFontMetrics().getDescent();
 
-      g.setColor(Color.BLACK);
+      g.setColor(UIUtil.getLabelForeground());
       g.drawString(myStr, x, y);
 
       g.setFont(originalFont);