diff --git a/platform/lang-api/src/com/intellij/execution/dashboard/hyperlink/RunDashboardHyperlinkTextComponent.java b/platform/lang-api/src/com/intellij/execution/dashboard/hyperlink/RunDashboardHyperlinkTextComponent.java index 59148371667b..de7f6a61a5d6 100644 --- a/platform/lang-api/src/com/intellij/execution/dashboard/hyperlink/RunDashboardHyperlinkTextComponent.java +++ b/platform/lang-api/src/com/intellij/execution/dashboard/hyperlink/RunDashboardHyperlinkTextComponent.java @@ -17,6 +17,7 @@ package com.intellij.execution.dashboard.hyperlink; import com.intellij.ui.SimpleColoredComponent; import com.intellij.ui.SimpleTextAttributes; +import com.intellij.ui.UI; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; @@ -54,7 +55,11 @@ public class RunDashboardHyperlinkTextComponent extends RunDashboardHyperlinkCom if (myText.isEmpty()) return; boolean isActive = mySelected || isAimed(); - SimpleTextAttributes linkTextAttributes = isActive ? SimpleTextAttributes.LINK_ATTRIBUTES : SimpleTextAttributes.SYNTHETIC_ATTRIBUTES; + SimpleTextAttributes linkTextAttributes = isActive + ? new SimpleTextAttributes(SimpleTextAttributes.STYLE_UNDERLINE, + UI.getColor("link.hover.foreground")) + : new SimpleTextAttributes(SimpleTextAttributes.STYLE_PLAIN, UI.getColor("link.foreground")); + if (myBold) { linkTextAttributes = SimpleTextAttributes.merge(linkTextAttributes, SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES); }