aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2022-10-07 11:47:51 +0200
committersonartech <sonartech@sonarsource.com>2022-10-11 20:03:59 +0000
commitf653953989d9cdefaf48280831163fb169e3208a (patch)
treec29fa26dda0f1acc7f825c3809a785d5a8f665eb
parentf8605f7076aff74aefc10fa3b3a93d6f603eb2cd (diff)
downloadsonarqube-f653953989d9cdefaf48280831163fb169e3208a.tar.gz
sonarqube-f653953989d9cdefaf48280831163fb169e3208a.zip
SONAR-17005 [894240] Text content lacks 4.5:1 contrast ratio
-rw-r--r--server/sonar-web/src/main/js/app/styles/components/ui.css2
-rw-r--r--server/sonar-web/src/main/js/app/theme.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/app/styles/components/ui.css b/server/sonar-web/src/main/js/app/styles/components/ui.css
index 4b09fb7c73c..a87e60202dc 100644
--- a/server/sonar-web/src/main/js/app/styles/components/ui.css
+++ b/server/sonar-web/src/main/js/app/styles/components/ui.css
@@ -71,7 +71,7 @@
vertical-align: middle;
height: 20px;
padding: 0 8px;
- background-color: var(--blue);
+ background-color: var(--primary400);
border-radius: 2px;
line-height: 20px;
font-size: var(--smallFontSize);
diff --git a/server/sonar-web/src/main/js/app/theme.js b/server/sonar-web/src/main/js/app/theme.js
index d2284771f5b..1a40c031034 100644
--- a/server/sonar-web/src/main/js/app/theme.js
+++ b/server/sonar-web/src/main/js/app/theme.js
@@ -150,8 +150,8 @@ module.exports = {
info50: '#ECF6FE',
info100: '#D9EDF7',
- info500: '#0271B9',
info400: '#4B9FD5',
+ info500: '#0271B9',
success500: '#008A25',
success500a20: 'rgba(0, 138, 37, 0.20)',