Browse Source

SONAR-12502 Change E rating to have primary red color

tags/8.0
Grégoire Aubert 4 years ago
parent
commit
ae57ef9b52

+ 2
- 1
server/sonar-web/src/main/js/helpers/constants.ts View File

@@ -37,6 +37,7 @@ export const CHART_COLORS_RANGE_PERCENT = [
colors.orange,
colors.red
];

export const CHART_REVERSED_COLORS_RANGE_PERCENT = [
colors.red,
colors.orange,
@@ -50,5 +51,5 @@ export const RATING_COLORS = [
colors.lightGreen,
colors.yellow,
colors.orange,
'#e00'
colors.red
];

+ 1
- 1
server/sonar-webserver-webapi/src/main/java/org/sonar/server/badge/ws/SvgGenerator.java View File

@@ -201,7 +201,7 @@ public class SvgGenerator {
static final Color RATING_B = new Color("#b0d513");
static final Color RATING_C = new Color("#eabe06");
static final Color RATING_D = new Color("#ed7d20");
static final Color RATING_E = new Color("#e00");
static final Color RATING_E = new Color("#d4333f");

private final String value;


Loading…
Cancel
Save