aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-02-17 15:58:59 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-02-17 16:05:00 +0100
commit213cce02d171c87f48a1d8511c3880e3312cbeb1 (patch)
tree9abf0d35db81fdaf54bddd2ec8dd3af56e6e0934
parentf1245609803a2c201b333cc59f3ef8e7e2aa15df (diff)
downloadsonarqube-213cce02d171c87f48a1d8511c3880e3312cbeb1.tar.gz
sonarqube-213cce02d171c87f48a1d8511c3880e3312cbeb1.zip
fix syntax highlighting
-rw-r--r--server/sonar-web/src/main/less/sonar-colorizer.less13
1 files changed, 8 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/less/sonar-colorizer.less b/server/sonar-web/src/main/less/sonar-colorizer.less
index e3b2130c298..5560393ccbc 100644
--- a/server/sonar-web/src/main/less/sonar-colorizer.less
+++ b/server/sonar-web/src/main/less/sonar-colorizer.less
@@ -1,3 +1,6 @@
+@import (reference) 'variables';
+@import (reference) 'mixins';
+
/* for example java annotations */
.code .a {
color: #808000;
@@ -5,7 +8,7 @@
/* constants */
.code .c {
color: #660E80;
- font-style: italic;
+ font-style: normal;
font-weight: bold;
}
/* javadoc */
@@ -25,13 +28,13 @@
}
/* keyword */
.code .k {
- color: #000080;
- font-weight: bold;
+ color: saturate(@darkBlue, 50%);
+ font-weight: 600;
}
/* string */
.code .s {
- color: #008000;
- font-weight: bold;
+ color: saturate(@red, 0%);
+ font-weight: normal;
}
/* keyword light*/
.code .h {