File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
utbot-ui-commons/src/main/kotlin/org/utbot/intellij/plugin/ui Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import com.intellij.openapi.wm.WindowManager
18
18
import com.intellij.ui.GotItMessage
19
19
import com.intellij.ui.awt.RelativePoint
20
20
import com.intellij.util.ui.JBFont
21
+ import com.intellij.util.ui.UIUtil
21
22
import java.awt.Point
22
23
import javax.swing.event.HyperlinkEvent
23
24
import mu.KotlinLogging
@@ -201,7 +202,7 @@ object GotItTooltipActivity : StartupActivity {
201
202
.getKeyboardShortcut(" org.utbot.intellij.plugin.ui.actions.GenerateTestsAction" )? : return @invokeLater
202
203
val shortcutText = KeymapUtil .getShortcutText(shortcut)
203
204
val message = GotItMessage .createMessage(" UnitTestBot is ready!" ,
204
- " <div style=\" font-size:${JBFont .label().biggerOn(2 .toFloat()).size} pt;\" >" +
205
+ " <div style=\" font-size:${JBFont .label().biggerOn(2 .toFloat()).size} pt;color:# ${ UIUtil .colorToHex( UIUtil .getLabelForeground())} ; \" >" +
205
206
" You can get test coverage for methods, Java classes,<br>and even for whole source roots<br> with <b>$shortcutText </b></div>" )
206
207
message.setCallback { PropertiesComponent .getInstance().setValue(KEY , true ) }
207
208
WindowManager .getInstance().getFrame(project)?.rootPane?.let {
You can’t perform that action at this time.
0 commit comments