From 0c5134dbf4361f657d7d3d27ec32decf135cf3ad Mon Sep 17 00:00:00 2001 From: beeps Date: Wed, 21 Aug 2024 16:04:23 +0100 Subject: [PATCH] Adjust code colours to have minimum 7:1 contrast --- src/stylesheets/components/_highlight.scss | 4 ++-- src/stylesheets/main.scss | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stylesheets/components/_highlight.scss b/src/stylesheets/components/_highlight.scss index 93e48f4837..b7cdbf89d1 100644 --- a/src/stylesheets/components/_highlight.scss +++ b/src/stylesheets/components/_highlight.scss @@ -18,12 +18,12 @@ .hljs-variable, .hljs-template-variable, .hljs-tag .hljs-attr { - color: #00703c; + color: #055f03; } .hljs-string, .hljs-doctag { - color: #d13118; + color: #9b2412; } .hljs-title, diff --git a/src/stylesheets/main.scss b/src/stylesheets/main.scss index 9099717b9c..99b346b729 100644 --- a/src/stylesheets/main.scss +++ b/src/stylesheets/main.scss @@ -42,7 +42,7 @@ $govuk-new-typography-scale: true; // App-specific variables $app-light-grey: #f8f8f8; -$app-code-color: #d13118; +$app-code-color: #9b2412; // App-specific components @import "components/back-to-top";