diff options
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/less/component-viewer-source-colorizer.less | 10 | ||||
-rw-r--r-- | sonar-server/src/main/less/component-viewer.less | 7 | ||||
-rw-r--r-- | sonar-server/src/main/webapp/fonts/sourcecodepro-semibold.woff | bin | 0 -> 16120 bytes |
3 files changed, 12 insertions, 5 deletions
diff --git a/sonar-server/src/main/less/component-viewer-source-colorizer.less b/sonar-server/src/main/less/component-viewer-source-colorizer.less index 9a6858dc035..4b23fbbc88c 100644 --- a/sonar-server/src/main/less/component-viewer-source-colorizer.less +++ b/sonar-server/src/main/less/component-viewer-source-colorizer.less @@ -21,13 +21,13 @@ /* 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 +} diff --git a/sonar-server/src/main/less/component-viewer.less b/sonar-server/src/main/less/component-viewer.less index 40f8274c075..8127a4c6de8 100644 --- a/sonar-server/src/main/less/component-viewer.less +++ b/sonar-server/src/main/less/component-viewer.less @@ -732,3 +732,10 @@ 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 Binary files differnew file mode 100644 index 00000000000..2a99bab755b --- /dev/null +++ b/sonar-server/src/main/webapp/fonts/sourcecodepro-semibold.woff |