From: Wouter Admiraal Date: Fri, 21 Dec 2018 14:36:24 +0000 (+0100) Subject: SONAR-10058 Update line coverage colors X-Git-Tag: 7.6~199 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d79815fca2661b5ab55d364bcd6747da70c07602;p=sonarqube.git SONAR-10058 Update line coverage colors --- diff --git a/server/sonar-web/src/main/js/app/theme.js b/server/sonar-web/src/main/js/app/theme.js index 8545f935c80..53a8d859a25 100644 --- a/server/sonar-web/src/main/js/app/theme.js +++ b/server/sonar-web/src/main/js/app/theme.js @@ -27,10 +27,12 @@ module.exports = { lightBlue: '#cae3f2', darkBlue: '#236a97', green: '#00aa00', + lineCoverageGreen: '#b4dd78', lightGreen: '#b0d513', yellow: '#eabe06', orange: '#ed7d20', red: '#d4333f', + lineCoverageRed: '#a4030f', purple: '#9139d4', gray94: '#efefef', diff --git a/server/sonar-web/src/main/js/components/SourceViewer/styles.css b/server/sonar-web/src/main/js/components/SourceViewer/styles.css index ea83bb7f525..6886a2c74b1 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/styles.css +++ b/server/sonar-web/src/main/js/components/SourceViewer/styles.css @@ -235,15 +235,15 @@ } .source-line-covered { - background-color: var(--green) !important; + background-color: var(--lineCoverageGreen) !important; } .source-line-uncovered { - background-color: var(--red) !important; + background-color: var(--lineCoverageRed) !important; } .source-line-partially-covered { - background-color: var(--orange) !important; + background-color: var(--lineCoverageRed) !important; background-image: repeating-linear-gradient( 45deg, rgba(255, 255, 255, 0.5) 4px,