Skip to content

Commit 686e8c1

Browse files
committed
fix: color on generate fix button
1 parent c11f4f1 commit 686e8c1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

plugin/src/main/java/io/snyk/eclipse/plugin/html/CodeHtmlProvider.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,9 @@ public String replaceCssVariables(String html) {
6868
htmlStyled = htmlStyled.replace("var(--example-line-added-color)",
6969
super.getColorAsHex("ADDITION_COLOR", "#00ff00"));
7070
htmlStyled = htmlStyled.replace("var(--generated-ai-fix-button-background-color)",
71-
// super.getColorAsHex("org.eclipse.ui.workbench.INACTIVE_TAB_BG_START", "#F0F0F0"));
72-
super.getColorAsHex("ADDITION_COLOR", "#00ff00"));
71+
super.getColorAsHex("BUTTON_COLOR", "#375578"));
7372
htmlStyled = htmlStyled.replace("var(--disabled-background-color)",
74-
super.getColorAsHex("ADDITION_COLOR", "#00ff00"));
73+
super.getColorAsHex("ADDITION_COLOR", "#6e6e6e"));
7574

7675
String htmlWithScripts = replaceAIFixScripts(htmlStyled);
7776

0 commit comments

Comments
 (0)