From 1a1b3bb9a809861d4313f02b0542932b3a6ac415 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 11 Nov 2020 14:58:21 +0000 Subject: [PATCH] Fix the focus colour on edit template links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since the focus background colour is now Design System yellow, the text should be black for sufficent contrast. This wasn’t happening because the `:link` selector’s definition had greater specificity. --- app/assets/stylesheets/views/template.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/assets/stylesheets/views/template.scss b/app/assets/stylesheets/views/template.scss index 201abefac..41670359d 100644 --- a/app/assets/stylesheets/views/template.scss +++ b/app/assets/stylesheets/views/template.scss @@ -20,6 +20,10 @@ color: $light-blue-25; } + &:focus { + color: $govuk-text-colour; + } + } .edit-template-link-letter-contact {