Skip to content

Commit 51094c8

Browse files
committed
changing red failure to gray
1 parent 252fd55 commit 51094c8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/constants/CodeModernizerUIConstants.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ class CodeModernizerUIConstants {
163163
}
164164

165165
fun getGreenThemeFontColor(): Color = if (JBColor.isBright()) JBColor.GREEN.darker() else JBColor.GREEN
166-
fun getRedThemeFontColor(): Color = JBColor.RED
166+
fun getGrayThemeFontColor(): Color = JBColor.GRAY
167167
fun getLightYellowThemeBackgroundColor(): Color = JBColor.YELLOW.darker()
168168
fun getStepIcon() = if (JBColor.isBright()) AwsIcons.CodeTransform.TIMELINE_STEP_LIGHT else AwsIcons.CodeTransform.TIMELINE_STEP_DARK
169169
}

plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/panels/BuildProgressStepDetailsPanel.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ class BuildProgressStepDetailsPanel : JPanel(BorderLayout()) {
9191
// We don't show description text until step finished.
9292
when (it.status) {
9393
BuildStepStatus.DONE -> setForeground(CodeModernizerUIConstants.getGreenThemeFontColor())
94-
BuildStepStatus.ERROR -> setForeground(CodeModernizerUIConstants.getRedThemeFontColor())
95-
BuildStepStatus.WARNING -> setForeground(CodeModernizerUIConstants.getRedThemeFontColor())
94+
BuildStepStatus.ERROR -> setForeground(CodeModernizerUIConstants.getGrayThemeFontColor())
95+
BuildStepStatus.WARNING -> setForeground(CodeModernizerUIConstants.getGrayThemeFontColor())
9696
BuildStepStatus.WORKING -> text = null
9797
}
9898
}

0 commit comments

Comments
 (0)