From 18528557f3d23122bbc708ec9cf0b282199f3247 Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Thu, 5 Sep 2024 10:41:48 +0100 Subject: [PATCH] Fix warning text colour on dark themes --- CHANGELOG.md | 3 ++- src/nationalarchives/components/warning/warning.scss | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c6f19d89..7e8a3919 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,8 +21,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed ### Fixed -- Use `aria-multiselectable` attribute for accordions that can have multiple items open - Increase thickness of underline for focused elements for when the focus indicator doesn't provide sufficient contrast with the background +- Don't add a `ga-disable-` variable to the `window` and set a disable cookie without having a GA4 ID +- Warning text colour on dark themes fixed ### Security diff --git a/src/nationalarchives/components/warning/warning.scss b/src/nationalarchives/components/warning/warning.scss index a039f23a..427f8b4b 100644 --- a/src/nationalarchives/components/warning/warning.scss +++ b/src/nationalarchives/components/warning/warning.scss @@ -12,6 +12,7 @@ gap: spacing.space(1); @include colour.accent-light; + @include colour.always-light; @include colour.colour-background-brand("cream");