From a644d1bf3e5bc003e06607cdd3e95b0368f9cf2e Mon Sep 17 00:00:00 2001 From: kr8n3r Date: Tue, 28 Jul 2020 11:56:47 +0100 Subject: [PATCH] Update "orange" code hightlight colour To meet minimum accessibility contrast ratio criterion. Had to use a custom colour as `govuk-colour("orange")` - `#f47738` doesn't meet the AA contrast ratio requirement when on light grey code background. --- lib/assets/stylesheets/palette/_syntax-highlighting.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/assets/stylesheets/palette/_syntax-highlighting.scss b/lib/assets/stylesheets/palette/_syntax-highlighting.scss index 3a5facbd..214ad19e 100644 --- a/lib/assets/stylesheets/palette/_syntax-highlighting.scss +++ b/lib/assets/stylesheets/palette/_syntax-highlighting.scss @@ -10,7 +10,7 @@ $code-05: $govuk-text-colour; /* Default Foreground, Caret, Delimiters, Operato $code-06: #ffffff; /* Light Foreground (Unused) */ $code-07: #ffffff; /* Light Background (Unused) */ -$code-08: #B26749; /* Variables, XML Tags, Markup Link Text, Markup Lists */ +$code-08: #d4351c; /* Variables, XML Tags, Markup Link Text, Markup Lists */ $code-09: #0E7754; /* Integers, Boolean, Constants, XML Attributes, Markup Link Url */ $code-0A: #4C4077; /* Classes, Markup Bold, Search Text Background */ $code-0B: $govuk-brand-colour; /* Strings, Inherited Class, Markup Code */