aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2019-10-11 10:53:21 +0200
committerSonarTech <sonartech@sonarsource.com>2019-10-21 20:21:10 +0200
commit29fb93b9145e38cd0d8aa68f7ba6aa909819aae8 (patch)
tree277ed337882612c821660a29dd455d771f56a175 /server
parentc5e42627215bf4a417c6bc5c1cf90f181ce0bd49 (diff)
downloadsonarqube-29fb93b9145e38cd0d8aa68f7ba6aa909819aae8.tar.gz
sonarqube-29fb93b9145e38cd0d8aa68f7ba6aa909819aae8.zip
SONAR-12558 More consistent colors for QG badge
Diffstat (limited to 'server')
-rw-r--r--server/sonar-webserver-webapi/src/main/java/org/sonar/server/badge/ws/SvgGenerator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/badge/ws/SvgGenerator.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/badge/ws/SvgGenerator.java
index 803ca5a8505..f452a74b3df 100644
--- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/badge/ws/SvgGenerator.java
+++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/badge/ws/SvgGenerator.java
@@ -193,8 +193,8 @@ public class SvgGenerator {
}
static class Color {
- static final Color DEFAULT = new Color("#999");
- static final Color QUALITY_GATE_OK = new Color("#4c1");
+ static final Color DEFAULT = new Color("#999999");
+ static final Color QUALITY_GATE_OK = new Color("#00aa00");
static final Color QUALITY_GATE_WARN = new Color("#ed7d20");
static final Color QUALITY_GATE_ERROR = new Color("#d4333f");
static final Color RATING_A = new Color("#00aa00");