From 4a5ce912e0e77ee20721e4967f1348bdcd8eb953 Mon Sep 17 00:00:00 2001 From: Dave Hunter Date: Wed, 27 Nov 2024 15:54:44 +0000 Subject: [PATCH] Fix reverse button (link) text colour (#1080) * add reverse button visited text colour * remove link example * refactor css * revert example * add changelog entry --- CHANGELOG.md | 1 + packages/components/button/_button.scss | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4dc0f9f6c..e2321a909 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ :wrench: **Fixes** - Fix appearance of disabled warning buttons ([Issue 1034]([https://github.com/nhsuk/nhsuk-service-manual-community-backlog/issues/1034])) +- Fix reverse button text colour ([PR 1080]([https://github.com/nhsuk/nhsuk-frontend/pull/1080])) ## 9.1.0 - 4 November 2024 diff --git a/packages/components/button/_button.scss b/packages/components/button/_button.scss index 5bc8990ce..94086f84a 100644 --- a/packages/components/button/_button.scss +++ b/packages/components/button/_button.scss @@ -159,7 +159,8 @@ $button-shadow-size: 4px; top: $button-shadow-size; } - &:link { + &:link, + &:visited { color: $nhsuk-reverse-button-text-color; &:active {