From: Wouter Admiraal Date: Wed, 10 Aug 2022 09:26:26 +0000 (+0200) Subject: SONAR-16782 [892425] Text content lacks 4.5:1 contrast ratio X-Git-Tag: 9.6.0.59041~14 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=546b2eb60909166c7b628a45ec2a16128832f328;p=sonarqube.git SONAR-16782 [892425] Text content lacks 4.5:1 contrast ratio --- diff --git a/server/sonar-web/src/main/js/app/theme.js b/server/sonar-web/src/main/js/app/theme.js index 7f786d2a4c9..7e61fdb060c 100644 --- a/server/sonar-web/src/main/js/app/theme.js +++ b/server/sonar-web/src/main/js/app/theme.js @@ -33,7 +33,7 @@ module.exports = { veryLightGreen: '#f5f9fc', yellow: '#eabe06', orange: '#ed7d20', - red: '#d4333f', + red: '#D02F3A', purple: '#9139d4', white: '#ffffff', @@ -75,7 +75,7 @@ module.exports = { // fonts baseFontColor: '#333', - secondFontColor: '#666', + secondFontColor: '#656565', // forms mandatoryFieldColor: '#a4030f', diff --git a/server/sonar-web/src/main/js/apps/code/components/__tests__/__snapshots__/ComponentName-test.tsx.snap b/server/sonar-web/src/main/js/apps/code/components/__tests__/__snapshots__/ComponentName-test.tsx.snap index 522ceab3d25..e54bcc69a92 100644 --- a/server/sonar-web/src/main/js/apps/code/components/__tests__/__snapshots__/ComponentName-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/code/components/__tests__/__snapshots__/ComponentName-test.tsx.snap @@ -106,7 +106,7 @@ foo" diff --git a/server/sonar-web/src/main/js/components/charts/__tests__/__snapshots__/ColorGradientLegend-test.tsx.snap b/server/sonar-web/src/main/js/components/charts/__tests__/__snapshots__/ColorGradientLegend-test.tsx.snap index d0e9902dc14..98ca58c599b 100644 --- a/server/sonar-web/src/main/js/components/charts/__tests__/__snapshots__/ColorGradientLegend-test.tsx.snap +++ b/server/sonar-web/src/main/js/components/charts/__tests__/__snapshots__/ColorGradientLegend-test.tsx.snap @@ -33,7 +33,7 @@ exports[`should render properly 1`] = ` @@ -39,7 +39,7 @@ exports[`should render properly 1`] = ` > diff --git a/server/sonar-web/src/main/js/components/controls/__tests__/__snapshots__/ReloadButton-test.tsx.snap b/server/sonar-web/src/main/js/components/controls/__tests__/__snapshots__/ReloadButton-test.tsx.snap index 96a3a37d1d1..f94c6cfc6f2 100644 --- a/server/sonar-web/src/main/js/components/controls/__tests__/__snapshots__/ReloadButton-test.tsx.snap +++ b/server/sonar-web/src/main/js/components/controls/__tests__/__snapshots__/ReloadButton-test.tsx.snap @@ -16,7 +16,7 @@ exports[`should handle click 1`] = ` > @@ -39,7 +39,7 @@ exports[`should render properly 1`] = ` > diff --git a/server/sonar-web/src/main/js/components/issue/Issue.css b/server/sonar-web/src/main/js/components/issue/Issue.css index 920dc0fc9c2..397d8781c14 100644 --- a/server/sonar-web/src/main/js/components/issue/Issue.css +++ b/server/sonar-web/src/main/js/components/issue/Issue.css @@ -284,3 +284,13 @@ .issue-comment-tile { background-color: var(--barBackgroundColor); } + +.issue .button-link { + color: var(--veryDarkBlue); +} + +.issue .button-link:hover, +.issue .button-link:focus, +.issue .button-link:active { + color: var(--darkBlue); +}