]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-10058 Update line coverage colors
authorWouter Admiraal <wouter.admiraal@sonarsource.com>
Fri, 21 Dec 2018 14:36:24 +0000 (15:36 +0100)
committerSonarTech <sonartech@sonarsource.com>
Wed, 26 Dec 2018 19:20:58 +0000 (20:20 +0100)
server/sonar-web/src/main/js/app/theme.js
server/sonar-web/src/main/js/components/SourceViewer/styles.css

index 8545f935c804ad4a0d8e822a7577bc79ebe31629..53a8d859a25a31061f4a8c16454e6b581ea1828b 100644 (file)
@@ -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',
index ea83bb7f52547f658b75c835575fb2737156a6ae..6886a2c74b156aa373b3c27a37790000517bf1d1 100644 (file)
 }
 
 .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,