]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5209 Increase saturation of code color palette
authorStas Vilchik <vilchiks@gmail.com>
Tue, 1 Jul 2014 10:51:59 +0000 (16:51 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 1 Jul 2014 10:52:08 +0000 (16:52 +0600)
sonar-server/src/main/less/component-viewer-source-colorizer.less
sonar-server/src/main/less/component-viewer.less
sonar-server/src/main/webapp/fonts/sourcecodepro-semibold.woff [new file with mode: 0644]

index 9a6858dc035a93e8ac0e804ddaeb3265f9af6918..4b23fbbc88c3b86dce220cb577b939ab519dc123 100644 (file)
 
   /* keyword */
   .code .k {
-    color: @darkBlue;
-    font-weight: normal;
+    color: saturate(@darkBlue, 50%);
+    font-weight: 600;
   }
 
   /* string */
   .code .s {
-    color: darken(@red, 10%);
+    color: saturate(@red, 0%);
     font-weight: normal;
   }
 
@@ -37,7 +37,7 @@
   }
 
   .sym {
-    color: darken(@green, 10%);
+    color: darken(saturate(@green, 10%), 15%);
   }
 
-}
\ No newline at end of file
+}
index 40f8274c07542558d317fae4a94a4f75468dbc56..8127a4c6de8f5f001e825faf6a1c772965d6b907 100644 (file)
   font-weight: normal;
   font-style: normal;
 }
+
+@font-face {
+  font-family: 'Source Code Pro';
+  src: url('../fonts/sourcecodepro-semibold.woff') format('woff');
+  font-weight: 600;
+  font-style: normal;
+}
diff --git a/sonar-server/src/main/webapp/fonts/sourcecodepro-semibold.woff b/sonar-server/src/main/webapp/fonts/sourcecodepro-semibold.woff
new file mode 100644 (file)
index 0000000..2a99bab
Binary files /dev/null and b/sonar-server/src/main/webapp/fonts/sourcecodepro-semibold.woff differ